File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ RUN apt-get update && apt-get install -y \
2626 && rm -rf /var/lib/apt/lists/*
2727
2828COPY --from=builder /app/target/release/commit-boost-pbs /usr/local/bin
29+
30+ RUN groupadd -g 10001 commitboost && \
31+ useradd -u 10001 -g commitboost -s /sbin/nologin commitboost
32+ USER commitboost
33+
2934ENTRYPOINT ["/usr/local/bin/commit-boost-pbs" ]
3035
3136
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ RUN apt-get update && apt-get install -y \
2626 && rm -rf /var/lib/apt/lists/*
2727
2828COPY --from=builder /app/target/release/commit-boost-signer /usr/local/bin
29+
30+ RUN groupadd -g 10001 commitboost && \
31+ useradd -u 10001 -g commitboost -s /sbin/nologin commitboost
32+ USER commitboost
33+
2934ENTRYPOINT ["/usr/local/bin/commit-boost-signer" ]
3035
3136
You can’t perform that action at this time.
0 commit comments