File tree Expand file tree Collapse file tree 8 files changed +24
-0
lines changed Expand file tree Collapse file tree 8 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup -g 101 -S nginx \
12+ && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
1013 && apkArch="$(cat /etc/apk/arch)" \
1114 && nginxPackages=" \
1215 nginx=${NGINX_VERSION}-r${PKG_RELEASE} \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup -g 101 -S nginx \
12+ && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
1013 && apkArch="$(cat /etc/apk/arch)" \
1114 && nginxPackages=" \
1215 nginx=${NGINX_VERSION}-r${PKG_RELEASE} \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1~stretch
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup --system --gid 101 nginx \
12+ && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \
1013 && apt-get update \
1114 && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 apt-transport-https ca-certificates \
1215 && \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1~stretch
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup --system --gid 101 nginx \
12+ && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \
1013 && apt-get update \
1114 && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 apt-transport-https ca-certificates \
1215 && \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup -g 101 -S nginx \
12+ && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
1013 && apkArch="$(cat /etc/apk/arch)" \
1114 && nginxPackages=" \
1215 nginx=${NGINX_VERSION}-r${PKG_RELEASE} \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup -g 101 -S nginx \
12+ && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
1013 && apkArch="$(cat /etc/apk/arch)" \
1114 && nginxPackages=" \
1215 nginx=${NGINX_VERSION}-r${PKG_RELEASE} \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1~stretch
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup --system --gid 101 nginx \
12+ && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \
1013 && apt-get update \
1114 && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 apt-transport-https ca-certificates \
1215 && \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ ENV NJS_VERSION 0.3.2
77ENV PKG_RELEASE 1~stretch
88
99RUN set -x \
10+ # create nginx user/group first, to be consistent throughout docker variants
11+ && addgroup --system --gid 101 nginx \
12+ && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \
1013 && apt-get update \
1114 && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 apt-transport-https ca-certificates \
1215 && \
You can’t perform that action at this time.
0 commit comments