Skip to content

Commit

Permalink
Merge pull request #243 from lcarva/go-1.21
Browse files Browse the repository at this point in the history
Use official golang image
  • Loading branch information
simonbaird authored Dec 18, 2023
2 parents 9259269 + ef40cfe commit 8b16fa2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Build the manager binary
# FROM docker.io/library/golang:1.23@sha256:098d628490c97d4419ed44a23d893f37b764f3bea06e0827183e8af4120e19be as builder
# Currently, there is no official container image for Go 1.24. As a workaround, we start with the
# generic Fedora image and install Go in it.
FROM registry.fedoraproject.org/fedora-minimal:latest@sha256:f34c3b3aa56c88b153c747f32592ff37ece4606951291a7ddc507778d207f21c as builder
RUN microdnf install -y golang
FROM docker.io/library/golang:1.21@sha256:2ff79bcdaff74368a9fdcb06f6599e54a71caf520fd2357a55feddd504bcaffb as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down

0 comments on commit 8b16fa2

Please sign in to comment.