fixed issue with previous commit, git is still a build dependency

This commit is contained in:
Ricard Bejarano 2019-03-11 06:04:11 +01:00
parent 32f04dc510
commit 9b8a09ac38
No known key found for this signature in database
GPG key ID: 5A5105DD6B91CA19
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ RUN if [ "$PCRE_CHECKSUM" != "$(sha256sum /tmp/pcre.tar.gz | awk '{print $1}')"
WORKDIR /tmp/nginx WORKDIR /tmp/nginx
RUN apt update && \ RUN apt update && \
apt install -y gcc g++ make && \ apt install -y git gcc g++ make && \
./configure $NGINX_CONFIG && \ ./configure $NGINX_CONFIG && \
make make

View file

@ -49,7 +49,7 @@ RUN if [ "$PCRE_CHECKSUM" != "$(sha256sum /tmp/pcre.tar.gz | awk '{print $1}')"
mv /tmp/nginx-$NGINX_VERSION /tmp/nginx mv /tmp/nginx-$NGINX_VERSION /tmp/nginx
WORKDIR /tmp/nginx WORKDIR /tmp/nginx
RUN apk add gcc g++ perl make linux-headers && \ RUN apk add git gcc g++ perl make linux-headers && \
./configure $NGINX_CONFIG && \ ./configure $NGINX_CONFIG && \
make make