Skip to content

Commit

Permalink
Merge pull request opendatahub-io#67 from spolti/RHOAIENG-8613
Browse files Browse the repository at this point in the history
[RHOAIENG-8613] - update golang to 1.21
  • Loading branch information
israel-hdez authored Aug 12, 2024
2 parents f37d7de + a914256 commit 2df2e78
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.19 as builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.21 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -o manager main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.6
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10
WORKDIR /
COPY --from=builder /workspace/manager .
USER 65532:65532
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/opendatahub-io/odh-model-controller

go 1.19
go 1.21

require (
github.com/go-logr/logr v1.2.4
Expand Down
Loading

0 comments on commit 2df2e78

Please sign in to comment.