Skip to content

Commit

Permalink
build: use the same alpine OS version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sbocinec committed Jun 13, 2023
1 parent e652142 commit a7d4bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################################################
# Build image
############################################################
FROM golang:1.20-alpine as builder
FROM golang:1.20-alpine3.18 as builder

ARG VERSION
ARG BUILT_AT
Expand All @@ -27,7 +27,7 @@ RUN CGO_ENABLED=0 go build \
############################################################
# Runtime Image
############################################################
FROM alpine:3.17
FROM alpine:3.18
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/bin/kminion /app/kminion
RUN addgroup -S redpanda \
Expand Down

0 comments on commit a7d4bd8

Please sign in to comment.