Skip to content

Commit

Permalink
Use numeric user in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthSim committed Nov 25, 2021
1 parent 2b42c30 commit 995eecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 995eecd

Please sign in to comment.