Skip to content
Snippets Groups Projects
Commit 46a0d483 authored by Mathieu Rampant's avatar Mathieu Rampant Committed by Konstantin Pavlov
Browse files

Update Dockerfile to work with other version of nginx

parent 4d700b97
No related branches found
No related tags found
No related merge requests found
FROM nginx:mainline as builder
ARG NGINX_VERSION_FROM=mainline
FROM nginx:${NGINX_VERSION_FROM} as builder
ARG ENABLED_MODULES
......@@ -68,7 +69,7 @@ RUN set -ex \
done \
&& echo "BUILT_MODULES=\"$BUILT_MODULES\"" > /tmp/packages/modules.env
FROM nginx:mainline
FROM nginx:${NGINX_VERSION_FROM}
COPY --from=builder /tmp/packages /tmp/packages
RUN set -ex \
&& apt update \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment