mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
3ef9ae95b9
Because composefs-devel isn't shipped in RHEL.
13 lines
534 B
Plaintext
13 lines
534 B
Plaintext
FROM quay.io/centos/centos:stream9 as build
|
|
COPY ci/c9s-buildroot.repo /etc/yum.repos.d
|
|
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/ /
|