File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 77# https://tmt.readthedocs.io/en/stable/
88ARG base=quay.io/centos-bootc/centos-bootc:stream9
99FROM $base as build
10+ # Keep this stuff before the `COPY . /build` below to ensure that the packages
11+ # are cached, i.e. we don't invalidate the package install stage by editing the source.
12+ COPY contrib /contrib
1013COPY hack/build.sh /build.sh
1114RUN /build.sh && rm -v /build.sh
1215COPY . /build
Original file line number Diff line number Diff line change @@ -5,10 +5,6 @@ case $ID in
55 centos|rhel) dnf config-manager --set-enabled crb;;
66 fedora) dnf -y install dnf-utils ;;
77esac
8- # Fetch the latest spec from fedora to ensure we've got the latest build deps
9- t=$( mktemp --suffix .spec)
10- curl -L -o ${t} https://src.fedoraproject.org/rpms/bootc/raw/rawhide/f/bootc.spec
11- dnf -y builddep " ${t} "
12- rm -f " ${t} "
8+ dnf -y builddep ./contrib/packaging/bootc.spec
139# Extra dependencies
1410dnf -y install git-core
Original file line number Diff line number Diff line change 77# https://tmt.readthedocs.io/en/stable/
88ARG base=quay.io/centos-bootc/centos-bootc:stream9
99FROM $base as build
10+ # Keep this stuff before the `COPY . /build` below to ensure that the packages
11+ # are cached, i.e. we don't invalidate the package install stage by editing the source.
12+ COPY contrib /contrib
1013COPY hack/build.sh /build.sh
1114RUN /build.sh && rm -v /build.sh
1215COPY . /build
You can’t perform that action at this time.
0 commit comments