Skip to content

Commit

Permalink
chore: Switch base builder images to ubi8 (#4987)
Browse files Browse the repository at this point in the history
switch base images to ubi8

Signed-off-by: Tommy Hughes <tohughes@redhat.com>
  • Loading branch information
tchughesiv authored Jan 30, 2025
1 parent 7593bb3 commit aaa915a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions infra/feast-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.9 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.22.9 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -22,7 +22,7 @@ COPY internal/controller/ internal/controller/
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go

FROM registry.access.redhat.com/ubi9/ubi-micro:9.5
FROM registry.access.redhat.com/ubi8/ubi-micro:8.10
WORKDIR /
COPY --from=builder /opt/app-root/src/manager .
USER 65532:65532
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:9.5
FROM registry.access.redhat.com/ubi8/python-311:1

ARG VERSION
RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres,opentelemetry,grpcio,k8s,duckdb,milvus]"==${VERSION}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:9.5
FROM registry.access.redhat.com/ubi8/python-311:1

COPY --chown=default . ${APP_ROOT}/src
RUN pip install --no-cache-dir pip-tools && \
Expand Down

0 comments on commit aaa915a

Please sign in to comment.