Skip to content

Commit 3d62a35

Browse files
committed
Dockerfile: stop using chainguard go image
Chainguard is no longer allowing free users to use specific versions of images like go (instead, having to always use "latest"). So instead, we will create our own build image by installing the needed packages on top of the wolfi-base image. This is one of the recommended approaches in their migration guide: https://www.chainguard.dev/unchained/a-guide-on-how-to-use-chainguard-images-for-public-catalog-tier-users Fixes #82 Signed-off-by: Will Norris <[email protected]>
1 parent 843e615 commit 3d62a35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM --platform=$BUILDPLATFORM cgr.dev/chainguard/go:1.20 as build
1+
FROM --platform=$BUILDPLATFORM cgr.dev/chainguard/wolfi-base as build
2+
RUN apk update && apk add build-base git openssh go-1.20
23

34
WORKDIR /work
45

0 commit comments

Comments
 (0)