Skip to content

Commit

Permalink
chore: druid user
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Nov 21, 2024
1 parent 21a0372 commit 3051991
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ RUN make build-plugins

RUN cp ./bin/druid* /usr/bin/

USER 1000:1000
ARG UID=1000
ARG GID=1000
RUN groupadd -g $GID -o druid
RUN useradd -m -u $UID -g $GID -o -s /bin/bash druid

USER druid

ENTRYPOINT [ "/entrypoint.sh" ]

0 comments on commit 3051991

Please sign in to comment.