Install pcre2

This commit is contained in:
John Cai 2019-05-07 11:44:15 -07:00
parent ac1992bbc9
commit 9f2c177d1a
3 changed files with 23 additions and 1 deletions

View file

@ -15,6 +15,13 @@ ENV PATH $PATH:/usr/local/go/bin
# Git
ARG GIT_VERSION
## pcre
ARG PCRE2_VERSION=10.33
ARG PCRE2_DOWNLOAD_URL=https://ftp.pcre.org/pub/pcre/pcre2-${PCRE2_VERSION}.tar.gz
RUN if [ -n "$GIT_VERSION" ]; then /scripts/install-pcre2 && pcre2-config --version; fi
## git
ARG GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz
ARG GIT_DOWNLOAD_SHA256
RUN if [ -n "$GIT_VERSION" ]; then /scripts/install-git && git --version; fi