fedora containers

This commit is contained in:
Anders Rytter Hansen 2023-11-05 17:37:56 +01:00
commit adb5e2c542
12 changed files with 363 additions and 0 deletions

View file

@ -0,0 +1,14 @@
FROM ghcr.io/andersrh/containers/fedora-toolbox/base-gui:main
WORKDIR /app
RUN dnf install -y xwininfo yt-dlp neofetch dnstop fedmod flatpak-module-tools fedpkg net-tools x2goclient qt-creator
COPY bin/* /usr/local/bin/
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/flatpak
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/nvtop
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/distrobox
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/uksmdstats
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/kerver

View file

@ -0,0 +1,14 @@
#!/bin/sh
APPNAME="general"
podman build -t andersrh/fedora-toolbox/$APPNAME -f fedora.Dockerfile .
#toolbox create --image andersrh/fedora-toolbox/$APPNAME $APPNAME
distrobox create --image andersrh/fedora-toolbox/$APPNAME --home ~/containers/$APPNAME/ $APPNAME
distrobox create --image andersrh/fedora-toolbox/$APPNAME --init --home ~/containers/$APPNAME/ $APPNAME-systemd
distrobox enter $APPNAME -- distrobox-export --app x2goclient
distrobox enter $APPNAME -- distrobox-export --app qtcreator
distrobox create --image andersrh/fedora-toolbox/$APPNAME $APPNAME-defaulthome
distrobox enter $APPNAME-defaulthome -- distrobox-export --app gnome-tweaks