File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11# ###########################################################
22# Build image
33# ###########################################################
4- FROM golang:1.20-alpine as builder
4+ FROM golang:1.20-alpine3.18 as builder
55
66ARG VERSION
77ARG BUILT_AT
@@ -27,12 +27,13 @@ RUN CGO_ENABLED=0 go build \
2727# ###########################################################
2828# Runtime Image
2929# ###########################################################
30- FROM alpine:3.17
30+ FROM alpine:3.18
3131COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
3232COPY --from=builder /app/bin/kminion /app/kminion
3333RUN addgroup -S redpanda \
3434 && adduser -S redpanda -G redpanda \
35- && chmod o+rx /app/kminion
35+ && chmod o+rx /app/kminion \
36+ && apk upgrade --no-cache
3637USER redpanda
3738
3839ENTRYPOINT ["/app/kminion" ]
You can’t perform that action at this time.
0 commit comments