mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Install pcre2
This commit is contained in:
parent
ac1992bbc9
commit
9f2c177d1a
3 changed files with 23 additions and 1 deletions
15
scripts/install-pcre2
Executable file
15
scripts/install-pcre2
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeuo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
curl -fsSL "$PCRE2_DOWNLOAD_URL" -o pcre2.tar.gz \
|
||||
&& tar -xzf pcre2.tar.gz \
|
||||
&& cd pcre2-${PCRE2_VERSION} \
|
||||
&& chmod +x configure \
|
||||
&& ./configure --prefix=/usr --enable-jit \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& cd ../ \
|
||||
&& rm -rf pcre2-${PCRE2_VERSION} \
|
||||
&& rm pcre2.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue