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

Commit

Permalink
feat: add more packages to fedora and ubuntu image
Browse files Browse the repository at this point in the history
  • Loading branch information
sneexy-boi committed Apr 3, 2024
1 parent 3eb9ca4 commit 90adea6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
24 changes: 20 additions & 4 deletions toolboxes/fedora-toolbox/Containerfile.fedora
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
FROM ghcr.io/ublue-os/fedora-distrobox:latest

COPY ./toolboxes/fedora-toolbox/packages.fedora /toolbox-packages

# Install decent selection of Modern Unix utilities, then random useful utilities
RUN dnf -y upgrade && \
dnf -y install $(<toolbox-packages) && \
dnf -y install \
bat \
duf \
fd-find \
fzf \
git-delta \
lsd \
neovim \
ripgrep \
sd \
p7zip \
unrar-free \
zoxide \
yt-dlp && \
dnf clean all

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
2 changes: 0 additions & 2 deletions toolboxes/fedora-toolbox/packages.fedora

This file was deleted.

4 changes: 3 additions & 1 deletion toolboxes/ubuntu-toolbox/Containerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN apt-get update && apt-get upgrade -y && \
apt-get update && apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
codium \
cargo \
adb \
fastboot && \
rm -rd /var/lib/apt/lists/*
Expand All @@ -23,7 +24,8 @@ COPY ./toolboxes/ubuntu-toolbox/files /

RUN rm /toolbox-packages

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

0 comments on commit 90adea6

Please sign in to comment.