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:
parent
2b42c308b7
commit
995eecd264
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user