Skip to content

Commit

Permalink
Don't hard-code uid for crunch user
Browse files Browse the repository at this point in the history
b/c it leads to errors:
useradd: UID 1000 is not unique
  • Loading branch information
atodorov committed Jun 25, 2024
1 parent 6d206c6 commit 62a774f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY --from=builder /app/target/$PROFILE/crunch /usr/local/bin
ARG NETWORK=devnet
COPY --from=builder /app/environments/cc3/$NETWORK/* /

RUN useradd -u 1000 -U -s /bin/sh crunch
RUN useradd -U -s /bin/sh crunch
USER crunch

ENV RUST_BACKTRACE=1
Expand Down

0 comments on commit 62a774f

Please sign in to comment.