Skip to content

Commit 398b75e

Browse files
committed
fix(base): re-add envsubst after cleanup
1 parent 16bc8f7 commit 398b75e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN CONFIG="\
5151
" \
5252
&& addgroup -S nginx \
5353
&& adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx \
54-
&& apk add --no-cache --update --virtual .build-deps gcc libc-dev make openssl-dev pcre-dev zlib-dev linux-headers patch curl git envsubst \
54+
&& apk add --no-cache --update --virtual .build-deps gcc libc-dev make openssl-dev pcre-dev zlib-dev linux-headers patch curl git \
5555
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
5656
&& git clone https://github.com/chobits/ngx_http_proxy_connect_module.git /usr/src/ngx_http_proxy_connect_module \
5757
&& cd /usr/src/ngx_http_proxy_connect_module && export PROXY_CONNECT_MODULE_PATH="$(pwd)" && cd - \
@@ -76,7 +76,7 @@ RUN CONFIG="\
7676
&& rm -rf /usr/src/nginx-$NGINX_VERSION \
7777
\
7878
# Remove -dev apks and sources
79-
&& apk del .build-deps gcc libc-dev make openssl-dev pcre-dev zlib-dev linux-headers patch curl git && rm -rf /usr/src \
79+
&& apk del .build-deps gcc libc-dev make openssl-dev pcre-dev zlib-dev linux-headers patch curl git && apk add envsubst && rm -rf /usr/src \
8080
\
8181
# forward request and error logs to docker log collector
8282
&& ln -sf /dev/stdout /var/log/nginx/access.log \

0 commit comments

Comments
 (0)