ostree/ci/Containerfile.c9s
Colin Walters 3623f0d805 ci: Add a bootc/c9s workflow
This obsoletes the "just build" on c9s flow, and actually runs
though a bootc install, which exercises more of things.
2024-01-31 14:03:25 -05:00

12 lines
490 B
Plaintext

FROM quay.io/centos/centos:stream9 as build
RUN dnf -y install dnf-utils zstd && dnf config-manager --enable crb && dnf builddep -y ostree
COPY . /build
WORKDIR /build
RUN env NOCONFIGURE=1 ./autogen.sh && \
./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --with-curl --with-selinux --with-dracut=yesbutnoconf && \
make -j 8 && \
make install DESTDIR=$(pwd)/target/inst
FROM quay.io/centos-bootc/centos-bootc-dev:stream9
COPY --from=build /build/target/inst/ /