Skip to content

Commit 6598f58

Browse files
authored
Merge pull request #548 from spolti/cps
[RHOAIENG-7287] - KServe UBI9 upgrade (#527)
2 parents dfae85f + a0a0054 commit 6598f58

File tree

20 files changed

+758
-770
lines changed

20 files changed

+758
-770
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder
2+
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.9 as builder
33

44
# Copy in the go src
55
WORKDIR /go/src/github.com/kserve/kserve
@@ -16,8 +16,8 @@ USER root
1616
RUN CGO_ENABLED=0 GOOS=linux GOFLAGS=-mod=mod go build -a -o manager ./cmd/manager
1717

1818
# Use distroless as minimal base image to package the manager binary
19-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
20-
RUN microdnf install -y --disablerepo=* --enablerepo=ubi-8-baseos-rpms shadow-utils && \
19+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
20+
RUN microdnf install -y --disablerepo=* --enablerepo=ubi-9-baseos-rpms shadow-utils && \
2121
microdnf clean all && \
2222
useradd kserve -m -u 1000
2323
RUN microdnf remove -y shadow-utils

agent.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the inference-agent binary
2-
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder
2+
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.9 as builder
33

44
# Copy in the go src
55
WORKDIR /go/src/github.com/kserve/kserve
@@ -16,9 +16,9 @@ USER root
1616
RUN CGO_ENABLED=0 GOOS=linux GOFLAGS=-mod=mod go build -a -o agent ./cmd/agent
1717

1818
# Copy the inference-agent into a thin image
19-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
19+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
2020

21-
RUN microdnf install -y --disablerepo=* --enablerepo=ubi-8-baseos-rpms shadow-utils && \
21+
RUN microdnf install -y --disablerepo=* --enablerepo=ubi-9-baseos-rpms shadow-utils && \
2222
microdnf clean all && \
2323
useradd kserve -m -u 1000
2424
RUN microdnf remove -y shadow-utils

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kserve/kserve
22

3-
go 1.22.7
3+
go 1.22.9
44

55
require (
66
cloud.google.com/go/storage v1.43.0

hack/verify-doc-links.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ def test_url(
210210

211211

212212
def wait_before_retry(url):
213-
global next_time_for_github_request
214213
if "github.com" in url:
215214
if datetime.now() < next_time_for_github_request:
216215
sleep((next_time_for_github_request - datetime.now()).seconds + extra_wait)

python/aiffairness/poetry.lock

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/artexplainer/poetry.lock

Lines changed: 17 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)