Skip to content

Commit

Permalink
build: use Go 1.20 while building in container
Browse files Browse the repository at this point in the history
This also moves to use the quay.io mirror of the Golang container-image
from docker.io. Docker Hub has pull restrictions, that can prevent
pulling the image if it is done too often. Quay.io does not enforce
restrictions like that.

Signed-off-by: Niels de Vos <[email protected]>
  • Loading branch information
nixpanic committed Jun 23, 2023
1 parent 4932221 commit ca0426b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.19 as builder
FROM quay.io/projectquay/golang:1.20 as builder

# Copy the contents of the repository
ADD . /workspace/go/src/github.com/csi-addons/kubernetes-csi-addons
Expand Down
2 changes: 1 addition & 1 deletion build/Containerfile.sidecar
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the sidecar binary
FROM golang:1.19 as builder
FROM quay.io/projectquay/golang:1.20 as builder

# Copy the contents of the repository
ADD . /workspace/go/src/github.com/csi-addons/kubernetes-csi-addons
Expand Down

0 comments on commit ca0426b

Please sign in to comment.