-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Cleanup fedora-example and packages/
- Loading branch information
1 parent
b7c25ac
commit 040ab26
Showing
4 changed files
with
7 additions
and
42 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 |
---|---|---|
|
@@ -5,14 +5,11 @@ LABEL com.github.containers.toolbox="true" \ | |
summary="An example ContainerFile to demonstrate multiple image builds." \ | ||
maintainer="[email protected]" | ||
|
||
COPY ../packages/fedora-sample-packages / | ||
RUN dnf update -y && \ | ||
grep -v '^#' /fedora-sample-packages | xargs dnf install -y | ||
RUN rm /fedora-sample-packages | ||
# Copy the setup scripts and package list | ||
COPY ../scripts/fedora-sample.sh / | ||
COPY ../scripts/distrobox-shims.sh / | ||
COPY ../packages/fedora-example.packages / | ||
|
||
RUN ln -fs /bin/sh /usr/bin/sh && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update | ||
# Run the setup scripts | ||
RUN chmod +x fedora-example.sh distrobox-shims.sh && /fedora-example.sh | ||
RUN rm /fedora-example.sh /distrobox-shims.sh /fedora-example.packages |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.