We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e71631 commit 4d700b9Copy full SHA for 4d700b9
modules/Dockerfile.alpine
@@ -1,4 +1,5 @@
1
-FROM nginx:mainline-alpine as builder
+ARG NGINX_VERSION_FROM=mainline-alpine
2
+FROM nginx:${NGINX_VERSION_FROM}-alpine as builder
3
4
ARG ENABLED_MODULES
5
@@ -60,7 +61,7 @@ RUN set -ex \
60
61
done \
62
&& echo "BUILT_MODULES=\"$BUILT_MODULES\"" > /tmp/packages/modules.env
63
-FROM nginx:mainline-alpine
64
+FROM nginx:${NGINX_VERSION_FROM}-alpine
65
COPY --from=builder /tmp/packages /tmp/packages
66
RUN set -ex \
67
&& . /tmp/packages/modules.env \
0 commit comments