1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00

Use numeric user in Dockerfile

This commit is contained in:
DarthSim 2021-11-25 19:35:56 +06:00
parent 2b42c308b7
commit 995eecd264

View File

@ -32,8 +32,8 @@ ENV VIPS_WARNING=0
ENV MALLOC_ARENA_MAX=2
ENV LD_LIBRARY_PATH /usr/local/lib
RUN groupadd -r imgproxy && useradd -r -g imgproxy imgproxy
USER imgproxy
RUN groupadd -r imgproxy && useradd -r -u 999 -g imgproxy imgproxy
USER 999
CMD ["imgproxy"]