Skip to content

Commit

Permalink
Merge pull request #57 from kaleido-io/non-root-user
Browse files Browse the repository at this point in the history
Change Dockerfile to use non-root user
  • Loading branch information
peterbroadhurst authored Jan 17, 2024
2 parents b535687 + 82e10b0 commit 6a08499
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ RUN make
FROM debian:bullseye-slim
WORKDIR /ffsigner
RUN apt update -y \
&& apt install -y curl jq \
&& rm -rf /var/lib/apt/lists/*
&& apt install -y curl jq \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /ffsigner/firefly-signer /usr/bin/ffsigner
USER 1001

ENTRYPOINT [ "/usr/bin/ffsigner" ]

0 comments on commit 6a08499

Please sign in to comment.