Skip to content

Commit

Permalink
[fix] CA-bundle
Browse files Browse the repository at this point in the history
old base images have too old CA bundle, replacing with more modern
variant, keeping multi-stage build to allow smaller image size.
  • Loading branch information
Anton Boritskiy authored and Pixep committed Nov 12, 2022
1 parent a8e350e commit 50d53cf
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,4 +1,4 @@
FROM golang:1.14-alpine as builder
FROM golang:1.19-alpine as builder

RUN apk add --update --no-cache git gcc musl-dev make

Expand All @@ -10,7 +10,7 @@ RUN make build-static \
&& mkdir -p /opt/bin \
&& mv ./crowlet /opt/bin/crowlet

FROM centurylink/ca-certs
FROM golang:1.19-alpine

COPY --from=builder /opt/bin/crowlet /opt/bin/crowlet

Expand Down

0 comments on commit 50d53cf

Please sign in to comment.