Skip to content

Commit e9daca2

Browse files
author
macbre
committed
Dockerfile: switch to ARG
1 parent 62e136c commit e9daca2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
FROM alpine:3.12
22

3-
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
4-
5-
ENV NGINX_VERSION 1.19.2
3+
ARG NGINX_VERSION=1.19.2
64

75
# https://github.com/google/ngx_brotli
8-
ENV NGX_BROTLI_COMMIT 25f86f0bac1101b6512135eac5f93c49c63609e3
9-
10-
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
11-
&& CONFIG="\
6+
ARG NGX_BROTLI_COMMIT=25f86f0bac1101b6512135eac5f93c49c63609e3
7+
ARG CONFIG="\
128
--prefix=/etc/nginx \
139
--sbin-path=/usr/sbin/nginx \
1410
--modules-path=/usr/lib/nginx/modules \

0 commit comments

Comments
 (0)