generated from ublue-os/boxkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContainerfile
23 lines (17 loc) · 832 Bytes
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ghcr.io/ublue-os/fedora-distrobox:latest
# From https://github.com/ublue-os/fedora-distrobox
LABEL com.github.containers.toolbox="true" \
usage="This image is meant to be used with the toolbox or distrobox command" \
summary="A cloud-native terminal experience powered by Fedora"
COPY ./extra-packages /toolbox-packages
COPY ./repos/*.repo /etc/yum.repos.d/
COPY ./install-scripts /usr/local/bin/install-scripts
COPY ./install-all.sh /usr/local/bin/install-all.sh
RUN /usr/local/bin/install-all.sh
RUN dnf -y upgrade && \
dnf -y install $(<toolbox-packages) && \
dnf clean all
RUN rm /toolbox-packages
RUN 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