Skip to content

Commit

Permalink
chore: add host-spawn to Containerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored May 17, 2024
1 parent 0a8f0fa commit 3187f42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toolboxes/ubuntu-toolbox/Containerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ RUN rm /etc/apt/apt.conf.d/docker-gzip-indexes /etc/apt/apt.conf.d/docker-no-lan
rm /toolbox-packages && \
mkdir /usr/share/empty && \
userdel --remove ubuntu && \
curl -sLo /usr/bin/host-spawn https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-x86_64 && \
chmod +x /usr/bin/host-spawn && \
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
echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers

0 comments on commit 3187f42

Please sign in to comment.