diff --git a/Dockerfile b/Dockerfile index e572a9cb..60834551 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.20 as builder ARG TARGETOS ARG TARGETARCH @@ -26,7 +26,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma # 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.9 +FROM registry.access.redhat.com/ubi8/ubi-minimal:latest WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532 diff --git a/config/overlays/rhoai/kustomization.yaml b/config/overlays/rhoai/kustomization.yaml index fb62c426..e6e984b8 100644 --- a/config/overlays/rhoai/kustomization.yaml +++ b/config/overlays/rhoai/kustomization.yaml @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - ../../base \ No newline at end of file + - ../../base diff --git a/go.mod b/go.mod index af2aa654..ad29ad8c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/trustyai-explainability/trustyai-service-operator -go 1.19 +go 1.20 require ( github.com/kserve/kserve v0.11.2