Skip to content

Commit

Permalink
Merge pull request opendatahub-io#435 from Jooho/odh_master_golang_1.22
Browse files Browse the repository at this point in the history
upgrage golang from 1.21 to 1.22
  • Loading branch information
Jooho authored Nov 7, 2024
2 parents 60d2d0b + 7a6e362 commit bdebcc7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
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.21 as builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder

# Copy in the go src
WORKDIR /go/src/github.com/kserve/kserve
Expand All @@ -25,4 +25,4 @@ COPY third_party/ /third_party/
COPY --from=builder /go/src/github.com/kserve/kserve/manager /
USER 1000:1000

ENTRYPOINT ["/manager"]
ENTRYPOINT ["/manager"]
4 changes: 2 additions & 2 deletions agent.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the inference-agent binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.21 as builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder

# Copy in the go src
WORKDIR /go/src/github.com/kserve/kserve
Expand Down Expand Up @@ -27,4 +27,4 @@ WORKDIR /ko-app
COPY --from=builder /go/src/github.com/kserve/kserve/agent /ko-app/
USER 1000:1000

ENTRYPOINT ["/ko-app/agent"]
ENTRYPOINT ["/ko-app/agent"]
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/kserve/kserve

go 1.21
go 1.22

require (
cloud.google.com/go/storage v1.43.0
Expand Down
4 changes: 2 additions & 2 deletions router.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the inference-router binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.21 as builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder

# Copy in the go src
WORKDIR /go/src/github.com/kserve/kserve
Expand All @@ -26,4 +26,4 @@ WORKDIR /ko-app
COPY --from=builder /go/src/github.com/kserve/kserve/router /ko-app/
USER 1000:1000

ENTRYPOINT ["/ko-app/router"]
ENTRYPOINT ["/ko-app/router"]

0 comments on commit bdebcc7

Please sign in to comment.