Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions podvm-payload/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Let's keep it safe and ensure we keep the same base image/repos for all builders.

## GOLANG ##
FROM registry.access.redhat.com/ubi10:10.1-1778133905 as go_builder
FROM registry.access.redhat.com/ubi10:10.1-1778562845 as go_builder
ARG ARCH
ENV ARCH=${ARCH}

Expand Down Expand Up @@ -43,7 +43,7 @@ RUN CGO_ENABLED=1 GOOS=linux go build \
RUN cp -r podvm/files/* /artifacts

## RUST ##
FROM registry.access.redhat.com/ubi10:10.1-1778133905 as rust_builder
FROM registry.access.redhat.com/ubi10:10.1-1778562845 as rust_builder
USER root
# This is registering RHEL when building on an unsubscribed system
# If you are running a UBI container on a registered and subscribed RHEL host,
Expand Down Expand Up @@ -97,7 +97,7 @@ RUN ARCH=$(uname -m) && \
RUN cp /workdir/guest-components/target/release/ttrpc-cdh /artifacts/usr/local/bin/confidential-data-hub

# build k8s pause image
FROM registry.access.redhat.com/ubi10:10.1-1778133905 as pause_builder
FROM registry.access.redhat.com/ubi10:10.1-1778562845 as pause_builder
# Uncomment the following line for hermetic build
#RUN rm /etc/yum.repos.d/* && cp /cachi2/output/deps/rpm/$(uname -m)/repos.d/cachi2.repo /etc/yum.repos.d/ && dnf update
RUN dnf install -y gcc glibc-static crun jq
Expand All @@ -111,7 +111,7 @@ RUN tar czvf /pause-bundle.tar.gz -C / pause_bundle/


## FINAL IMAGE ##
FROM registry.access.redhat.com/ubi10:10.1-1778133905
FROM registry.access.redhat.com/ubi10:10.1-1778562845

COPY --from=go_builder /artifacts /artifacts
COPY --from=rust_builder /artifacts /artifacts
Expand Down