We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c95d6 commit bebfda8Copy full SHA for bebfda8
Dockerfile
@@ -30,5 +30,9 @@ RUN CGO_ENABLED=0 go build \
30
FROM alpine:3.17
31
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
32
COPY --from=builder /app/bin/kminion /app/kminion
33
+RUN addgroup -S redpanda \
34
+ && adduser -S redpanda -G redpanda \
35
+ && chmod o+rx /app/kminion
36
+USER redpanda
37
38
ENTRYPOINT ["/app/kminion"]
0 commit comments