Skip to content

Commit

Permalink
Update Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr authored and deck committed Apr 10, 2024
1 parent 0c1f34f commit 31d17a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 53 deletions.
6 changes: 0 additions & 6 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ RUN dnf -y upgrade

RUN dnf install -y patchelf make gcc file bash-completion bc bzip2 cracklib-dicts curl diffutils dnf-plugins-core findutils glibc-all-langpacks glibc-locale-source gnupg2 gnupg2-smime hostname iproute iputils keyutils krb5-libs less lsof man-db man-pages mtr ncurses nss-mdns openssh-clients pam passwd pigz pinentry procps-ng rsync shadow-utils sudo tcpdump time traceroute tree tzdata unzip util-linux vte-profile wget which whois words xorg-x11-xauth xz zip mesa-dri-drivers mesa-vulkan-drivers vulkan

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

COPY ./bin/init-brew /usr/local/bin
COPY ./profile.d/brew.sh /etc/profile.d
Expand Down
7 changes: 7 additions & 0 deletions bin/init-brew
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ if test ! -f /home/linuxbrew/.linuxbrew/bin/brew; then
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sudo chown $USER:$USER /home/linuxbrew
fi

[ -f /run/host/usr/bin/docker ] && sudo ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker || rm -f /usr/local/bin/docker
[ -f /run/host/usr/bin/flatpak ] && sudo ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak || rm -f /usr/local/bin/flatpak
[ -f /run/host/usr/bin/podman ] && sudo ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman || rm -f /usr/local/bin/podman
[ -f /run/host/usr/bin/rpm-ostree ] && sudo ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree || rm -f /usr/local/bin/rpm-ostree
[ -f /run/host/usr/bin/transactional-update ] && sudo ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update || rm -f /usr/local/bin/transactional-update
[ -f /run/host/usr/bin/ujust ] && sudo ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/ujust || rm -f /usr/local/bin/ujust
47 changes: 0 additions & 47 deletions extra-packages

This file was deleted.

0 comments on commit 31d17a0

Please sign in to comment.