Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
chore: update arch toolbox, update ubuntu toolbox with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sneexy-boi committed Apr 28, 2024
1 parent ab8bbcf commit 1d1ea8d
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 62 deletions.
3 changes: 1 addition & 2 deletions toolboxes/arch-toolbox/Containerfile.arch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/ublue-os/arch-distrobox AS arch-toolbox

COPY toolboxes/arch-toolbox/files /

# Install gaming related packages
# Install gaming related packages and other desktop utilities
# Steam seperated to prevent it from installing its own dependecies
RUN pacman -Syu \
lib32-vulkan-radeon \
Expand Down Expand Up @@ -37,7 +37,6 @@ RUN pacman -Syu \
--noconfirm && \
pacman -Syu \
steam \
lutris \
mangohud \
lib32-mangohud \
--noconfirm && \
Expand Down
6 changes: 4 additions & 2 deletions toolboxes/arch-toolbox/Containerfile.arch-gnome
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM ghcr.io/ublue-os/arch-distrobox AS arch-gnome-toolbox
# Based on bazzite-arch with minor modifications
# GNOME edition

COPY toolboxes/arch-toolbox/files /

# Install gaming related packages
# Install gaming related packages and other desktop utilities
# Steam seperated to prevent it from installing its own dependecies
RUN pacman -Syu \
lib32-vulkan-radeon \
libva-mesa-driver \
Expand Down Expand Up @@ -36,7 +39,6 @@ RUN pacman -Syu \
--noconfirm && \
pacman -Syu \
steam \
lutris \
mangohud \
lib32-mangohud \
--noconfirm && \
Expand Down
40 changes: 22 additions & 18 deletions toolboxes/ubuntu-toolbox/Containerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
FROM quay.io/toolbx-images/ubuntu-toolbox:22.04
# From https://github.com/toolbx-images/images/tree/main/ubuntu/22.04
FROM docker.io/library/ubuntu:24.04
# FROM https://hub.docker.com/_/ubuntu

COPY ./toolboxes/ubuntu-toolbox/basic.ubuntu /toolbox-packages

# Installs basic packages listed in the basic.ubuntu file
# Then installs dev related packages and others
RUN apt-get update && apt-get upgrade -y && \
RUN rm /etc/apt/apt.conf.d/docker-gzip-indexes /etc/apt/apt.conf.d/docker-no-languages && \
sed -Ei 's/^(hosts:.*)(\<files\>)\s*(.*)/\1\2 myhostname \3/' /etc/nsswitch.conf && \
sed -Ei '/apt-get (update|upgrade)/s/^/#/' /usr/local/sbin/unminimize && \
apt-get update && \
yes | /usr/local/sbin/unminimize && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
$(cat toolbox-packages | xargs) && \
ubuntu-minimal ubuntu-standard \
libnss-myhostname \
flatpak-xdg-utils \
$(cat toolbox-packages | xargs) && \
wget https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
-O /usr/share/keyrings/vscodium-archive-keyring.asc && \
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main' \
| sudo tee /etc/apt/sources.list.d/vscodium.list && \
apt-get update && apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
codium \
cargo \
adb \
fastboot && \
rm -rd /var/lib/apt/lists/*

COPY ./toolboxes/ubuntu-toolbox/files /

RUN rm /toolbox-packages

RUN ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/git && \
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

RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
rm -rd /var/lib/apt/lists/* && \
rm /toolbox-packages && \
mkdir /usr/share/empty && \
userdel --remove ubuntu && \
rm /etc/apt/apt.conf.d/20apt-esm-hook.conf && \
ln -s /usr/libexec/flatpak-xdg-utils/flatpak-spawn /usr/bin/ && \
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 && \
echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
110 changes: 70 additions & 40 deletions toolboxes/ubuntu-toolbox/basic.ubuntu
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
apt-utils
bash-completion
bc
bzip2
ca-certificates
curl
dbus-x11
direnv
fzf
libegl1-mesa
libgl1-mesa-glx
libvte-common
make
neofetch
plocate
progress
apt-utils
dialog
diffutils
direnv
dirmngr
findutils
fish
fzf
gnupg
gnupg2
gnupg-l10n
gnupg-utils
gnupg2
gpg
ca-certificates
libnsl2
libpython3-stdlib
gpg-agent
gpgconf
gpgsm
gpg-wks-client
gpg-wks-server
gpgsm
libksba8
libnpth0
libpython3.11-minimal
gpgconf
libnss-myhostname
libsqlite3-0
libtirpc-common
libtirpc3
libvte-2.91-common
openssl
lsof
pinentry-curses
time
libpython3.11-stdlib
libvulkan1
media-types
mesa-vulkan-drivers
hostname
iproute2
iputils-ping
keyutils
language-pack-en
less
libbsd0
libcap2-bin
libdrm2
libdrm-amdgpu1
libdrm-common
libdrm-nouveau2
libdrm-radeon1
libdrm2
libedit2
libegl-mesa0
libegl1
libegl1-mesa
libegl-mesa0
libelf1
libexpat1
libgbm1
libgl1
libgl1-amber-dri
libgl1-mesa-dri
libgl1-mesa-glx
libglapi-mesa
libglvnd0
libglx-mesa0
libglx0
libicu70
libglx-mesa0
libkrb5-3
libksba8
libllvm15
libnpth0
libnsl2
libnss-mdns
libnss-myhostname
libpciaccess0
libsensors-config
libpython3-stdlib
libsensors5
libsensors-config
libsqlite3-0
libtirpc3
libtirpc-common
libvte-2.91-common
libvte-2.9*-common
libvte-common
libvulkan1
libwayland-client0
libwayland-server0
libx11-6
libx11-data
libx11-xcb1
libxau6
libxcb1
libxcb-dri2-0
libxcb-dri3-0
libxcb-glx0
Expand All @@ -81,9 +81,39 @@ libxcb-randr0
libxcb-shm0
libxcb-sync1
libxcb-xfixes0
libxcb1
libxdmcp6
libxext6
libxfixes3
libxml2
locales
lsof
make
man-db
manpages
media-types
mesa-vulkan-drivers
mtr
ncurses-base
neofetch
openssh-client
openssl
passwd
pigz
pinentry-curses
plocate
procps
progress
rsync
sudo
tcpdump
time
traceroute
tree
tzdata
unzip
util-linux
wget
xauth
xz-utils
zip
zsh

0 comments on commit 1d1ea8d

Please sign in to comment.