changed base and new apps

This commit is contained in:
Anders Rytter Hansen 2023-04-28 15:54:52 +02:00
commit f8ed440ee8
42 changed files with 299 additions and 13 deletions

View file

@ -0,0 +1,18 @@
FROM registry.fedoraproject.org/fedora:37
RUN dnf update -y && dnf clean packages
RUN dnf install -y fish htop nano firejail && dnf clean packages
RUN dnf install -y libnotify nss && dnf clean packages
RUN dnf install -y --allowerasing bash bc curl diffutils dnf-plugins-core findutils gnupg2 less lsof ncurses passwd pinentry procps-ng shadow-utils sudo time util-linux wget vte-profile \
&& dnf clean packages
RUN dnf install -y at-spi2-core gtk3 libXScrnSaver libXtst xdg-utils && dnf clean packages
RUN dnf install -y libglvnd-gles && dnf clean packages
RUN dnf install -y mesa-dri-drivers mesa-vulkan-drivers vulkan && dnf clean packages
RUN dnf install -y libva ibus ibus-gtk3 ibus-libs ibus-m17n ibus-setup libmpc libxkbcommon-x11 libxkbfile m17n-db m17n-lib python3-cairo python3-gobject python3-gobject-base python3-gobject-base-noarch setxkbmap xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xhost xmodmap xorg-x11-xinit xrdb cpp
RUN dnf install -y gcr3-base gcr3 gnome-keyring
RUN dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
&& dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
RUN dnf install -y libva-intel-driver gstreamer1-plugin-openh264 ffmpeg libva-utils
RUN dnf install -y dbus-glib pciutils-libs
RUN dnf -y install fuse
RUN dnf install -y firefox

View file

@ -0,0 +1,18 @@
FROM registry.fedoraproject.org/fedora:38
RUN dnf update -y && dnf clean packages
RUN dnf install -y fish htop nano firejail && dnf clean packages
RUN dnf install -y libnotify nss && dnf clean packages
RUN dnf install -y --allowerasing bash bc curl diffutils dnf-plugins-core findutils gnupg2 less lsof ncurses passwd pinentry procps-ng shadow-utils sudo time util-linux wget vte-profile \
&& dnf clean packages
RUN dnf install -y at-spi2-core gtk3 libXScrnSaver libXtst xdg-utils && dnf clean packages
RUN dnf install -y libglvnd-gles && dnf clean packages
RUN dnf install -y mesa-dri-drivers mesa-vulkan-drivers vulkan && dnf clean packages
RUN dnf install -y libva ibus ibus-gtk3 ibus-libs ibus-m17n ibus-setup libmpc libxkbcommon-x11 libxkbfile m17n-db m17n-lib python3-cairo python3-gobject python3-gobject-base python3-gobject-base-noarch setxkbmap xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xhost xmodmap xorg-x11-xinit xrdb cpp
RUN dnf install -y gcr3-base gcr3 gnome-keyring
RUN dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
&& dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
RUN dnf install -y libva-intel-driver gstreamer1-plugin-openh264 ffmpeg libva-utils
RUN dnf install -y dbus-glib pciutils-libs
RUN dnf -y install fuse
RUN dnf install -y firefox

3
fedora/build.37.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
podman build -t andersrh/fedora/base-gui:37 -f base-gui.37.Dockerfile .

5
fedora/build.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
podman build -t andersrh/fedora/base-gui -f base-gui.Dockerfile .
podman tag localhost/andersrh/fedora/base-gui:latest localhost/andersrh/fedora/base-gui:38
# podman build -t andersrh/fedora-toolbox/gui -f gui.Dockerfile .

View file

@ -0,0 +1,7 @@
FROM localhost/andersrh/fedora/base-gui:latest
#FROM registry.fedoraproject.org/fedora-toolbox:37
#WORKDIR /app
RUN dnf install -y firefox && dnf clean all

7
fedora/firefox/build.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
APPNAME="firefox"
podman build -t andersrh/fedora/$APPNAME -f Dockerfile .
distrobox create --image andersrh/fedora/$APPNAME $APPNAME
distrobox enter $APPNAME -- distrobox-export --app $APPNAME

8
fedora/hyper/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM localhost/andersrh/fedora/base-gui
WORKDIR /app
RUN wget https://releases.hyper.is/download/rpm -O app.rpm \
&& yum localinstall -y app.rpm && rm -f app.rpm && dnf install -y dejavu-sans-mono-fonts && dnf clean all
COPY ./bin/fish_on_host /app/
RUN chmod +x /app/fish_on_host

3
fedora/hyper/bin/fish_on_host Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
bash -c '/usr/bin/distrobox-host-exec fish -l'

7
fedora/hyper/build.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
APPNAME="hyper"
podman build -t andersrh/fedora/$APPNAME -f Dockerfile .
distrobox create --image andersrh/fedora/$APPNAME --home ~/containers/$APPNAME/ $APPNAME
distrobox enter $APPNAME -- distrobox-export --app $APPNAME --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland"

5
fedora/wine/Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM localhost/andersrh/fedora/base-gui
WORKDIR /app
RUN dnf install -y wine && dnf clean all

6
fedora/wine/build.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
APPNAME="wine"
podman build -t andersrh/fedora/$APPNAME -f Dockerfile .
distrobox create --image andersrh/fedora/$APPNAME --home ~/containers/$APPNAME/ $APPNAME