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 84f7e93 commit 2f8871fCopy full SHA for 2f8871f
Dockerfile
@@ -52,8 +52,9 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
52
--with-file-aio \
53
--with-http_v2_module \
54
" \
55
- && addgroup -S nginx \
56
- && adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx \
+ && deluser xfs \
+ && addgroup -g 33 -S nginx \
57
+ && adduser -u 33 -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx \
58
&& apk add --no-cache --virtual .build-deps \
59
gcc \
60
libc-dev \
rootfs/etc/nginx/nginx.conf
@@ -1,6 +1,7 @@
1
worker_processes auto;
2
pid /var/run/nginx.pid;
3
pcre_jit on;
4
+user nginx;
5
6
events {
7
worker_connections 2048;
0 commit comments