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: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ RUN --mount=target=/src,rw make rpm && \
mkdir /out && \
cp -r /src/rpmbuild/RPMS/x86_64/*.rpm /out/

FROM mcr.microsoft.com/azurelinux/base/core:3.0 as azl3
RUN tdnf install -y rpm-build make python3-devel
WORKDIR /src
RUN --mount=target=/src,rw make rpm && \
mkdir /out && \
cp -r /src/rpmbuild/RPMS/x86_64/*.rpm /out/

FROM registry.access.redhat.com/ubi9:latest as el9
RUN yum install -y rpm-build make python3-devel
WORKDIR /src
Expand All @@ -21,5 +28,6 @@ RUN --mount=target=/src,rw make rpm && \

FROM scratch
COPY --from=cm2 /out/* /
COPY --from=azl3 /out/* /
COPY --from=el8 /out/* /
COPY --from=el9 /out/* /
Loading