File tree Expand file tree Collapse file tree 6 files changed +2440
-6
lines changed Expand file tree Collapse file tree 6 files changed +2440
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,9 @@ RUN dnf install -y rust cargo libzstd-devel git openssl-devel \
1212# Required to unencapsulate OCI to ostree
1313# rpm-ostree seems to not have the ability.
1414# It is not provided as a package in fedora.
15- RUN mkdir -p /sources; \
16- cd /sources; \
17- git clone --depth 1 \
18- https://github.com/hhd-dev/ostree-ext-cli ostree-rs-ext;
15+ COPY ./ostree-ext-cli /sources/ostree-ext-cli
1916
20- WORKDIR /sources/ostree-rs- ext
17+ WORKDIR /sources/ostree-ext-cli
2118RUN cargo fetch
2219RUN cargo build --release
2320
@@ -29,7 +26,7 @@ RUN dnf install -y python3 python3-pip python3-devel rsync git tree \
2926 libzstd openssl glib2 ghc-gio ostree skopeo selinux-policy-targeted
3027
3128# Copy the built binary after installing deps
32- COPY --from=build /sources/ostree-rs- ext/target/release/ostree-ext-cli \
29+ COPY --from=build /sources/ostree-ext-cli /target/release/ostree-ext-cli \
3330 /usr/bin/ostree-ext-cli
3431
3532# Install rechunk
Original file line number Diff line number Diff line change 1+ target
Original file line number Diff line number Diff line change 1+ target
You can’t perform that action at this time.
0 commit comments