Skip to content

Commit

Permalink
Merge pull request #95 from ublue-os/m2Giles-patch-1
Browse files Browse the repository at this point in the history
chore: add host-spawn to Ubuntu Containerfile.
  • Loading branch information
castrojo authored May 17, 2024
2 parents caa9abb + 3187f42 commit 50587ac
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 50587ac

Please sign in to comment.