mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
3623f0d805
This obsoletes the "just build" on c9s flow, and actually runs though a bootc install, which exercises more of things.
12 lines
490 B
Plaintext
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/ /
|