Skip to content

Commit

Permalink
chore: Update builder and base tags (trustyai-explainability#242)
Browse files Browse the repository at this point in the history
* Update builder and base tags

Builder changed from go-toolset:1.19 -> 1.20
Base image from ubi-mininal:8.9 -> latest
Go module version 1.19 -> 1.20

* fix: RHOAI overlay YAML linting
  • Loading branch information
ruivieira authored May 16, 2024
1 parent 1d15f74 commit 114eb66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.19 as builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.20 as builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/overlays/rhoai/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
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/trustyai-explainability/trustyai-service-operator

go 1.19
go 1.20

require (
github.com/kserve/kserve v0.11.2
Expand Down

0 comments on commit 114eb66

Please sign in to comment.