kayx23 commented on code in PR #478: URL: https://github.com/apache/apisix-docker/pull/478#discussion_r1244696460
########## debian/Dockerfile: ########## @@ -48,7 +48,7 @@ WORKDIR /usr/local/apisix ENV PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin -RUN useradd -u 1001 apisix && chown -R apisix:apisix /usr/local/apisix +RUN useradd -u 6336 apisix && chown -R apisix:apisix /usr/local/apisix Review Comment: Updated to 636 (I randomly picked). Please check again. Referenced https://github.com/nginxinc/docker-nginx/blob/5d6be2e7a58d6ce76c7784c75c750b48af6f1f5d/Dockerfile-debian.template#L12C62-L12C62 Test: ``` $ sudo useradd --system --no-create-home --home /nonexistent --shell /bin/false --uid 636 apisix $ grep apisix /etc/passwd apisix:x:636:636::/nonexistent:/bin/false ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
