From f8ed440ee87576a0ecff1876cd987a538261ba4d Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Fri, 28 Apr 2023 15:54:52 +0200 Subject: [PATCH] changed base and new apps --- archlinux/base-gui.Dockerfile | 22 +++++++++++++++++++ archlinux/build.sh | 3 +++ archlinux/lbry/Dockerfile | 5 +++++ archlinux/lbry/build.sh | 12 ++++++++++ archlinux/tradingview/Dockerfile | 5 +++++ archlinux/tradingview/build.sh | 12 ++++++++++ fedora-toolbox/base-gui.37.Dockerfile | 18 +++++++++++++++ fedora-toolbox/base-gui.Dockerfile | 18 +++++++++++++++ fedora-toolbox/base.Dockerfile | 7 ------ fedora-toolbox/binance/Dockerfile | 2 +- fedora-toolbox/bisq/Dockerfile | 2 +- fedora-toolbox/bitwarden/Dockerfile | 2 +- fedora-toolbox/build.37.sh | 3 +++ fedora-toolbox/build.sh | 5 +++-- fedora-toolbox/ezra/Dockerfile | 2 +- fedora-toolbox/firefox/Dockerfile | 7 ++++++ fedora-toolbox/firefox/build.sh | 7 ++++++ fedora-toolbox/general/Dockerfile | 5 +++++ fedora-toolbox/general/build.sh | 13 +++++++++++ fedora-toolbox/ledgerlive/Dockerfile | 9 ++++++++ fedora-toolbox/ledgerlive/build.sh | 9 ++++++++ fedora-toolbox/ledgerlive/ledgerlive.desktop | 8 +++++++ fedora-toolbox/ledgerlive/ledgerlive.png | Bin 0 -> 2546 bytes fedora-toolbox/tabby/Dockerfile | 6 +++++ fedora-toolbox/tabby/build.sh | 7 ++++++ fedora-toolbox/zoom/Dockerfile | 6 +++++ fedora-toolbox/zoom/build.sh | 7 ++++++ fedora/base-gui.37.Dockerfile | 18 +++++++++++++++ fedora/base-gui.Dockerfile | 18 +++++++++++++++ fedora/build.37.sh | 3 +++ fedora/build.sh | 5 +++++ fedora/firefox/Dockerfile | 7 ++++++ fedora/firefox/build.sh | 7 ++++++ fedora/hyper/Dockerfile | 8 +++++++ fedora/hyper/bin/fish_on_host | 3 +++ fedora/hyper/build.sh | 7 ++++++ fedora/wine/Dockerfile | 5 +++++ fedora/wine/build.sh | 6 +++++ ubuntu/base-gui.Dockerfile | 6 +++++ ubuntu/build.sh | 5 +++++ ubuntu/hardinfo/Dockerfile | 5 +++++ ubuntu/hardinfo/build.sh | 7 ++++++ 42 files changed, 299 insertions(+), 13 deletions(-) create mode 100644 archlinux/base-gui.Dockerfile create mode 100755 archlinux/build.sh create mode 100644 archlinux/lbry/Dockerfile create mode 100755 archlinux/lbry/build.sh create mode 100644 archlinux/tradingview/Dockerfile create mode 100755 archlinux/tradingview/build.sh create mode 100644 fedora-toolbox/base-gui.37.Dockerfile create mode 100644 fedora-toolbox/base-gui.Dockerfile delete mode 100644 fedora-toolbox/base.Dockerfile create mode 100755 fedora-toolbox/build.37.sh create mode 100644 fedora-toolbox/firefox/Dockerfile create mode 100755 fedora-toolbox/firefox/build.sh create mode 100644 fedora-toolbox/general/Dockerfile create mode 100755 fedora-toolbox/general/build.sh create mode 100644 fedora-toolbox/ledgerlive/Dockerfile create mode 100755 fedora-toolbox/ledgerlive/build.sh create mode 100644 fedora-toolbox/ledgerlive/ledgerlive.desktop create mode 100644 fedora-toolbox/ledgerlive/ledgerlive.png create mode 100644 fedora-toolbox/tabby/Dockerfile create mode 100755 fedora-toolbox/tabby/build.sh create mode 100644 fedora-toolbox/zoom/Dockerfile create mode 100755 fedora-toolbox/zoom/build.sh create mode 100644 fedora/base-gui.37.Dockerfile create mode 100644 fedora/base-gui.Dockerfile create mode 100755 fedora/build.37.sh create mode 100755 fedora/build.sh create mode 100644 fedora/firefox/Dockerfile create mode 100755 fedora/firefox/build.sh create mode 100644 fedora/hyper/Dockerfile create mode 100755 fedora/hyper/bin/fish_on_host create mode 100755 fedora/hyper/build.sh create mode 100644 fedora/wine/Dockerfile create mode 100755 fedora/wine/build.sh create mode 100644 ubuntu/base-gui.Dockerfile create mode 100755 ubuntu/build.sh create mode 100644 ubuntu/hardinfo/Dockerfile create mode 100755 ubuntu/hardinfo/build.sh diff --git a/archlinux/base-gui.Dockerfile b/archlinux/base-gui.Dockerfile new file mode 100644 index 0000000..392f3bb --- /dev/null +++ b/archlinux/base-gui.Dockerfile @@ -0,0 +1,22 @@ +FROM docker.io/library/archlinux + +WORKDIR /app + +RUN pacman -Syu --noconfirm --needed git base-devel +RUN useradd -m --shell=/bin/false build && usermod -L build +RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers +RUN echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers +RUN chown -R build /app +USER build +RUN git clone https://aur.archlinux.org/yay.git \ +&& cd yay \ +&& makepkg -si --noconfirm \ +&& rm -rf /app/* +USER root +RUN pacman -Sy --noconfirm bash bc curl diffutils findutils gnupg less lsof ncurses pinentry procps-ng shadow sudo time util-linux wget vte-common +RUN pacman -Sy --noconfirm mesa opengl-driver vulkan-intel vulkan-radeon +RUN pacman -Sy --noconfirm fish htop +RUN pacman -Sy --noconfirm libva libva-intel-driver libva-mesa-driver libva-utils intel-media-driver +RUN pacman -Sy --noconfirm nss atk cups gtk3 alsa-lib +RUN pacman -Sy --noconfirm xdg-utils +RUN pacman -Sy --noconfirm nano ibus dbus-glib \ No newline at end of file diff --git a/archlinux/build.sh b/archlinux/build.sh new file mode 100755 index 0000000..de278a6 --- /dev/null +++ b/archlinux/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +podman build -t andersrh/archlinux/base-gui -f base-gui.Dockerfile . \ No newline at end of file diff --git a/archlinux/lbry/Dockerfile b/archlinux/lbry/Dockerfile new file mode 100644 index 0000000..0a689a3 --- /dev/null +++ b/archlinux/lbry/Dockerfile @@ -0,0 +1,5 @@ +FROM andersrh/archlinux/base-gui + +WORKDIR /app + +#RUN yay -S --noconfirm tradingview \ No newline at end of file diff --git a/archlinux/lbry/build.sh b/archlinux/lbry/build.sh new file mode 100755 index 0000000..ffca309 --- /dev/null +++ b/archlinux/lbry/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +APPNAME="lbry" + +podman build -t andersrh/archlinux/$APPNAME -f Dockerfile . +podman rm -f $APPNAME +distrobox create --image andersrh/archlinux/$APPNAME --init --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- yay -S --noconfirm lbry-desktop-bin +podman commit $APPNAME andersrh/archlinux/$APPNAME +podman rm -f $APPNAME +distrobox create --image andersrh/archlinux/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --app $APPNAME \ No newline at end of file diff --git a/archlinux/tradingview/Dockerfile b/archlinux/tradingview/Dockerfile new file mode 100644 index 0000000..0a689a3 --- /dev/null +++ b/archlinux/tradingview/Dockerfile @@ -0,0 +1,5 @@ +FROM andersrh/archlinux/base-gui + +WORKDIR /app + +#RUN yay -S --noconfirm tradingview \ No newline at end of file diff --git a/archlinux/tradingview/build.sh b/archlinux/tradingview/build.sh new file mode 100755 index 0000000..d52807d --- /dev/null +++ b/archlinux/tradingview/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +APPNAME="tradingview" + +podman build -t andersrh/archlinux/$APPNAME -f Dockerfile . +podman rm -f $APPNAME +distrobox create --image andersrh/archlinux/$APPNAME --init --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- yay -S --noconfirm tradingview +podman commit $APPNAME andersrh/archlinux/$APPNAME +podman rm -f $APPNAME +distrobox create --image andersrh/archlinux/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --app $APPNAME --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland" \ No newline at end of file diff --git a/fedora-toolbox/base-gui.37.Dockerfile b/fedora-toolbox/base-gui.37.Dockerfile new file mode 100644 index 0000000..5c9e241 --- /dev/null +++ b/fedora-toolbox/base-gui.37.Dockerfile @@ -0,0 +1,18 @@ +FROM registry.fedoraproject.org/fedora-toolbox: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 \ No newline at end of file diff --git a/fedora-toolbox/base-gui.Dockerfile b/fedora-toolbox/base-gui.Dockerfile new file mode 100644 index 0000000..05b0b0c --- /dev/null +++ b/fedora-toolbox/base-gui.Dockerfile @@ -0,0 +1,18 @@ +FROM registry.fedoraproject.org/fedora-toolbox: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 \ No newline at end of file diff --git a/fedora-toolbox/base.Dockerfile b/fedora-toolbox/base.Dockerfile deleted file mode 100644 index 20b80a6..0000000 --- a/fedora-toolbox/base.Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM registry.fedoraproject.org/fedora-toolbox: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 \ No newline at end of file diff --git a/fedora-toolbox/binance/Dockerfile b/fedora-toolbox/binance/Dockerfile index 09cd3b6..e9826ac 100644 --- a/fedora-toolbox/binance/Dockerfile +++ b/fedora-toolbox/binance/Dockerfile @@ -1,4 +1,4 @@ -FROM localhost/andersrh/fedora-toolbox/gui +FROM localhost/andersrh/fedora-toolbox/base-gui WORKDIR /app RUN wget https://download.binance.com/electron-desktop/linux/production/binance-x86_64-linux.rpm \ diff --git a/fedora-toolbox/bisq/Dockerfile b/fedora-toolbox/bisq/Dockerfile index f3777da..4477573 100644 --- a/fedora-toolbox/bisq/Dockerfile +++ b/fedora-toolbox/bisq/Dockerfile @@ -1,4 +1,4 @@ -FROM localhost/andersrh/fedora-toolbox/gui +FROM localhost/andersrh/fedora-toolbox/base-gui WORKDIR /app ENV JAVA_TOOL_OPTIONS "-Dglass.gtk.uiScale=2" diff --git a/fedora-toolbox/bitwarden/Dockerfile b/fedora-toolbox/bitwarden/Dockerfile index 44ec3dc..9912321 100644 --- a/fedora-toolbox/bitwarden/Dockerfile +++ b/fedora-toolbox/bitwarden/Dockerfile @@ -1,4 +1,4 @@ -FROM localhost/andersrh/fedora-toolbox/gui +FROM localhost/andersrh/fedora-toolbox/base-gui WORKDIR /app diff --git a/fedora-toolbox/build.37.sh b/fedora-toolbox/build.37.sh new file mode 100755 index 0000000..c53375a --- /dev/null +++ b/fedora-toolbox/build.37.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +podman build -t andersrh/fedora-toolbox/base-gui:37 -f base-gui.37.Dockerfile . \ No newline at end of file diff --git a/fedora-toolbox/build.sh b/fedora-toolbox/build.sh index d068487..74d29fa 100755 --- a/fedora-toolbox/build.sh +++ b/fedora-toolbox/build.sh @@ -1,4 +1,5 @@ #!/bin/sh -podman build -t andersrh/fedora-toolbox/base -f base.Dockerfile . -podman build -t andersrh/fedora-toolbox/gui -f gui.Dockerfile . \ No newline at end of file +podman build -t andersrh/fedora-toolbox/base-gui -f base-gui.Dockerfile . +podman tag localhost/andersrh/fedora-toolbox/base-gui:latest localhost/andersrh/fedora-toolbox/base-gui:38 +# podman build -t andersrh/fedora-toolbox/gui -f gui.Dockerfile . \ No newline at end of file diff --git a/fedora-toolbox/ezra/Dockerfile b/fedora-toolbox/ezra/Dockerfile index e9d6828..2f5f881 100644 --- a/fedora-toolbox/ezra/Dockerfile +++ b/fedora-toolbox/ezra/Dockerfile @@ -1,4 +1,4 @@ -FROM localhost/andersrh/fedora-toolbox/gui +FROM localhost/andersrh/fedora-toolbox/base-gui WORKDIR /app diff --git a/fedora-toolbox/firefox/Dockerfile b/fedora-toolbox/firefox/Dockerfile new file mode 100644 index 0000000..4b9bf1b --- /dev/null +++ b/fedora-toolbox/firefox/Dockerfile @@ -0,0 +1,7 @@ +FROM localhost/andersrh/fedora-toolbox/base-gui:latest +#FROM registry.fedoraproject.org/fedora-toolbox:37 + + +#WORKDIR /app + +RUN dnf install -y firefox && dnf clean all \ No newline at end of file diff --git a/fedora-toolbox/firefox/build.sh b/fedora-toolbox/firefox/build.sh new file mode 100755 index 0000000..033766d --- /dev/null +++ b/fedora-toolbox/firefox/build.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +APPNAME="firefox" + +podman build -t andersrh/fedora-toolbox/$APPNAME -f Dockerfile . +distrobox create --image andersrh/fedora-toolbox/$APPNAME $APPNAME +distrobox enter $APPNAME -- distrobox-export --app $APPNAME \ No newline at end of file diff --git a/fedora-toolbox/general/Dockerfile b/fedora-toolbox/general/Dockerfile new file mode 100644 index 0000000..6456a51 --- /dev/null +++ b/fedora-toolbox/general/Dockerfile @@ -0,0 +1,5 @@ +FROM localhost/andersrh/fedora-toolbox/base-gui + +WORKDIR /app + +RUN dnf install -y xwininfo yt-dlp neofetch dnstop \ No newline at end of file diff --git a/fedora-toolbox/general/build.sh b/fedora-toolbox/general/build.sh new file mode 100755 index 0000000..8463355 --- /dev/null +++ b/fedora-toolbox/general/build.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +APPNAME="general" + +podman build -t andersrh/fedora-toolbox/$APPNAME -f Dockerfile . +#toolbox create --image andersrh/fedora-toolbox/$APPNAME $APPNAME +distrobox create --image andersrh/fedora-toolbox/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --bin /usr/bin/htop -ep ~/.local/bin/ +distrobox enter $APPNAME -- distrobox-export --bin /usr/bin/xwininfo -ep ~/.local/bin/ +distrobox enter $APPNAME -- distrobox-export --bin /usr/bin/ffmpeg -ep ~/.local/bin/ +distrobox enter $APPNAME -- distrobox-export --bin /usr/bin/yt-dlp -ep ~/.local/bin/ +distrobox enter $APPNAME -- distrobox-export --bin /usr/bin/neofetch -ep ~/.local/bin/ +distrobox enter $APPNAME -- distrobox-export --bin /usr/bin/dnstop -ep ~/.local/bin/ \ No newline at end of file diff --git a/fedora-toolbox/ledgerlive/Dockerfile b/fedora-toolbox/ledgerlive/Dockerfile new file mode 100644 index 0000000..790069e --- /dev/null +++ b/fedora-toolbox/ledgerlive/Dockerfile @@ -0,0 +1,9 @@ +FROM localhost/andersrh/fedora-toolbox/base-gui + +WORKDIR /app + +RUN wget https://download.live.ledger.com/latest/linux -O ledgerlive \ +&& chmod +x ledgerlive +COPY ledgerlive.desktop /usr/share/applications/ +COPY ledgerlive.png /usr/share/icons/ +RUN ln -s /app/ledgerlive /usr/bin/ledgerlive \ No newline at end of file diff --git a/fedora-toolbox/ledgerlive/build.sh b/fedora-toolbox/ledgerlive/build.sh new file mode 100755 index 0000000..5e90ca9 --- /dev/null +++ b/fedora-toolbox/ledgerlive/build.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +APPNAME="ledgerlive" + +podman build -t andersrh/fedora-toolbox/$APPNAME -f Dockerfile . +distrobox create --image andersrh/fedora-toolbox/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --bin /app/$APPNAME --export-path ~/.local/bin --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland" +cp ledgerlive.png ~/.local/share/icons/ +cp ledgerlive.desktop ~/.local/share/applications/ \ No newline at end of file diff --git a/fedora-toolbox/ledgerlive/ledgerlive.desktop b/fedora-toolbox/ledgerlive/ledgerlive.desktop new file mode 100644 index 0000000..e5e6ea6 --- /dev/null +++ b/fedora-toolbox/ledgerlive/ledgerlive.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type = Application +Version = 1.0 +Name = Ledger Live +Comment = Ledger Live +Icon = ledgerlive +Exec = ledgerlive --enable-features=WaylandWindowDecorations --ozone-platform=wayland +Terminal = false \ No newline at end of file diff --git a/fedora-toolbox/ledgerlive/ledgerlive.png b/fedora-toolbox/ledgerlive/ledgerlive.png new file mode 100644 index 0000000000000000000000000000000000000000..96341da37f4614647992393952f4297673ae3526 GIT binary patch literal 2546 zcmeAS@N?(olHy`uVBq!ia0y~yU;;9k7&zE~)R&4Yzkn2Hfk$L90|U1(2s1Lwnj--e zWGoJHcVbv~PUa<$!;&U>cv7h@-A}dfsyQhm|NCo5Dn+JWhBSl;dXOWMJSB8dZQl9JU=^9-}wC@%y*mf9LouPqaO~>CDFp znTq_)H+kfr^HV((GpuW@`}_MpfB9na$LIOy%82W)&G+u!EnT;4_3G6>e}8}f;cv{F z$G^F@Z{KeJN_xi3zxU(rZ(09g^1g%RbAagzzh8!Tq%U~;L38=#%xmBN{IOx!fAsb2 zZ=(6C^EX%C1ZD;ib=sx%+l*nQ7BXquZ=andCog}WZG#vigZA#7J7=awrsXm*L`)vx z@iIKhoCRl3>oKo+R$+5)lg{R4pMU<@w(9arlk3;7Gp|XvKCpfJ?YH-UF;CrOmSKHh zm7JU$Flq6=ww!;Sc}@1`O{Wb0EK%w-=X|ngWaD!{+M0s z_W8W+vkyNs_~WxaU+Vt(XQ|U49@Z0|-~a#C`|rh8bKAb^oHjcCxbVT=vuVaPG$^<; lAPME)Xths;=Fb=XwF@2`kyhim4Q!$@c)I$ztaD0e0s#2XuHgUx literal 0 HcmV?d00001 diff --git a/fedora-toolbox/tabby/Dockerfile b/fedora-toolbox/tabby/Dockerfile new file mode 100644 index 0000000..8109f4d --- /dev/null +++ b/fedora-toolbox/tabby/Dockerfile @@ -0,0 +1,6 @@ +FROM localhost/andersrh/fedora-toolbox/base-gui + +WORKDIR /app + +RUN wget https://github.com/Eugeny/tabby/releases/download/v1.0.196/tabby-1.0.196-linux-x64.rpm -O app.rpm \ +&& yum localinstall -y app.rpm && rm -f app.rpm && dnf clean all \ No newline at end of file diff --git a/fedora-toolbox/tabby/build.sh b/fedora-toolbox/tabby/build.sh new file mode 100755 index 0000000..7b6db30 --- /dev/null +++ b/fedora-toolbox/tabby/build.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +APPNAME="tabby" + +podman build -t andersrh/fedora-toolbox/$APPNAME -f Dockerfile . +distrobox create --image andersrh/fedora-toolbox/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --app $APPNAME --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland" \ No newline at end of file diff --git a/fedora-toolbox/zoom/Dockerfile b/fedora-toolbox/zoom/Dockerfile new file mode 100644 index 0000000..92a2066 --- /dev/null +++ b/fedora-toolbox/zoom/Dockerfile @@ -0,0 +1,6 @@ +FROM localhost/andersrh/fedora-toolbox/base-gui + +WORKDIR /app + +RUN wget https://zoom.us/client/latest/zoom_x86_64.rpm -O app.rpm \ +&& yum localinstall -y app.rpm && rm -f app.rpm && wget https://zoom.us/linux/download/pubkey?version=5-12-6 -O key.pub && rpm --import key.pub && rm -f key.pub && dnf clean all \ No newline at end of file diff --git a/fedora-toolbox/zoom/build.sh b/fedora-toolbox/zoom/build.sh new file mode 100755 index 0000000..91def92 --- /dev/null +++ b/fedora-toolbox/zoom/build.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +APPNAME="zoom" + +podman build -t andersrh/fedora-toolbox/$APPNAME -f Dockerfile . +distrobox create --image andersrh/fedora-toolbox/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --app $APPNAME \ No newline at end of file diff --git a/fedora/base-gui.37.Dockerfile b/fedora/base-gui.37.Dockerfile new file mode 100644 index 0000000..b0656f4 --- /dev/null +++ b/fedora/base-gui.37.Dockerfile @@ -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 \ No newline at end of file diff --git a/fedora/base-gui.Dockerfile b/fedora/base-gui.Dockerfile new file mode 100644 index 0000000..63e6e10 --- /dev/null +++ b/fedora/base-gui.Dockerfile @@ -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 \ No newline at end of file diff --git a/fedora/build.37.sh b/fedora/build.37.sh new file mode 100755 index 0000000..682106a --- /dev/null +++ b/fedora/build.37.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +podman build -t andersrh/fedora/base-gui:37 -f base-gui.37.Dockerfile . \ No newline at end of file diff --git a/fedora/build.sh b/fedora/build.sh new file mode 100755 index 0000000..644ebb7 --- /dev/null +++ b/fedora/build.sh @@ -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 . \ No newline at end of file diff --git a/fedora/firefox/Dockerfile b/fedora/firefox/Dockerfile new file mode 100644 index 0000000..6310d1c --- /dev/null +++ b/fedora/firefox/Dockerfile @@ -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 \ No newline at end of file diff --git a/fedora/firefox/build.sh b/fedora/firefox/build.sh new file mode 100755 index 0000000..32044a3 --- /dev/null +++ b/fedora/firefox/build.sh @@ -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 \ No newline at end of file diff --git a/fedora/hyper/Dockerfile b/fedora/hyper/Dockerfile new file mode 100644 index 0000000..1a2fa8f --- /dev/null +++ b/fedora/hyper/Dockerfile @@ -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 \ No newline at end of file diff --git a/fedora/hyper/bin/fish_on_host b/fedora/hyper/bin/fish_on_host new file mode 100755 index 0000000..ce4343b --- /dev/null +++ b/fedora/hyper/bin/fish_on_host @@ -0,0 +1,3 @@ +#!/bin/sh + +bash -c '/usr/bin/distrobox-host-exec fish -l' diff --git a/fedora/hyper/build.sh b/fedora/hyper/build.sh new file mode 100755 index 0000000..90d384a --- /dev/null +++ b/fedora/hyper/build.sh @@ -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" \ No newline at end of file diff --git a/fedora/wine/Dockerfile b/fedora/wine/Dockerfile new file mode 100644 index 0000000..e0c82db --- /dev/null +++ b/fedora/wine/Dockerfile @@ -0,0 +1,5 @@ +FROM localhost/andersrh/fedora/base-gui + +WORKDIR /app + +RUN dnf install -y wine && dnf clean all \ No newline at end of file diff --git a/fedora/wine/build.sh b/fedora/wine/build.sh new file mode 100755 index 0000000..129462e --- /dev/null +++ b/fedora/wine/build.sh @@ -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 \ No newline at end of file diff --git a/ubuntu/base-gui.Dockerfile b/ubuntu/base-gui.Dockerfile new file mode 100644 index 0000000..9046d06 --- /dev/null +++ b/ubuntu/base-gui.Dockerfile @@ -0,0 +1,6 @@ +FROM ubuntu:22.04 +ARG DEBIAN_FRONTEND=noninteractive +RUN apt update && apt upgrade -y && apt clean +RUN apt install -y fish htop nano firejail bash apt-utils bc curl dialog diffutils findutils gnupg2 less libnss-myhostname libvte-2.91-common libvte-common lsof ncurses-base passwd pinentry-curses procps sudo time wget util-linux libegl1-mesa libgl1-mesa-glx libvulkan1 mesa-vulkan-drivers libva2 libva-wayland2 libva-glx2 libva-drm2 libva-x11-2 intel-media-va-driver va-driver-all && apt clean +RUN apt install -y gconf2 gconf-service libnotify4 libappindicator1 libnss3 libsecret-1-dev gnome-keyring && apt clean +RUN apt install -y libasound2 libgles2 && apt clean \ No newline at end of file diff --git a/ubuntu/build.sh b/ubuntu/build.sh new file mode 100755 index 0000000..b8eaf8f --- /dev/null +++ b/ubuntu/build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +podman build -t andersrh/ubuntu/base-gui -f base-gui.Dockerfile . +podman tag localhost/andersrh/ubuntu/base-gui:latest localhost/andersrh/ubuntu/base-gui:22.04 +# podman build -t andersrh/fedora-toolbox/gui -f gui.Dockerfile . \ No newline at end of file diff --git a/ubuntu/hardinfo/Dockerfile b/ubuntu/hardinfo/Dockerfile new file mode 100644 index 0000000..1cb1f80 --- /dev/null +++ b/ubuntu/hardinfo/Dockerfile @@ -0,0 +1,5 @@ +FROM localhost/andersrh/ubuntu/base-gui +ARG DEBIAN_FRONTEND=noninteractive +WORKDIR /app + +RUN apt install -y hardinfo && apt clean \ No newline at end of file diff --git a/ubuntu/hardinfo/build.sh b/ubuntu/hardinfo/build.sh new file mode 100755 index 0000000..201919a --- /dev/null +++ b/ubuntu/hardinfo/build.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +APPNAME="hardinfo" + +podman build -t andersrh/ubuntu/$APPNAME -f Dockerfile . +distrobox create --image andersrh/ubuntu/$APPNAME --home ~/containers/$APPNAME/ $APPNAME +distrobox enter $APPNAME -- distrobox-export --app $APPNAME \ No newline at end of file