mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
15 lines
334 B
Bash
Executable file
15 lines
334 B
Bash
Executable file
#!/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
|