Skip to content

Commit

Permalink
Run ostree container commit
Browse files Browse the repository at this point in the history
Even though it doesn't do much right now, let's train
people to do this because I would like to require this in
the future.

See ostreedev/ostree-rs-ext#159
  • Loading branch information
cgwalters committed Mar 29, 2022
1 parent 6431e2d commit e1b76d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM quay.io/coreos-assembler/fcos:next-devel
COPY --from=builder /build/hello-world /usr/bin
# And add our unit file
ADD hello-world.service /etc/systemd/system/hello-world.service
# Also add strace; rm -rf /var/cache currently is needed to avoid
# errors in the output since the dnf cache is attemped to be copied.
# We will address this issue in the future.
RUN rpm-ostree install strace && rm -rf /var/cache
# Also add strace; the `rm -rf /var/cache` is the equivalent of `yum clean all`.
# For `ostree container finalize`, see https://github.com/ostreedev/ostree-rs-ext/issues/159
RUN rpm-ostree install strace && rm -rf /var/cache && \
ostree container commit

0 comments on commit e1b76d8

Please sign in to comment.