forked from ostreedev/ostree-rs-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is prep for iterating on ostreedev#12
- Loading branch information
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM quay.io/coreos-assembler/fcos-buildroot:testing-devel as builder | ||
RUN yum -y --enablerepo=updates-testing update ostree-devel | ||
WORKDIR /build | ||
COPY . . | ||
RUN cargo build --release | ||
|
||
FROM registry.fedoraproject.org/fedora:34 | ||
RUN yum -y install ostree && yum clean all | ||
COPY --from=builder /build/target/release/ostree-ext-cli /usr/bin/ostree-ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Use this to quickly generate a new container image | ||
# overriding the binaries from the local build. | ||
FROM localhost/ostree-ext | ||
COPY /src/target/debug/ostree-ext-cli /usr/bin/ostree-ext |