Skip to content

Commit

Permalink
build: run OS pkg update on image build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbocinec committed Jun 13, 2023
1 parent a7d4bd8 commit 3391840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/bin/kminion /app/kminion
RUN addgroup -S redpanda \
&& adduser -S redpanda -G redpanda \
&& chmod o+rx /app/kminion
&& chmod o+rx /app/kminion \
&& apk upgrade --no-cache
USER redpanda

ENTRYPOINT ["/app/kminion"]

0 comments on commit 3391840

Please sign in to comment.