Skip to content

Commit

Permalink
Revert back to using host-spawn instead of distrobox-host-exec, only …
Browse files Browse the repository at this point in the history
…installation is not necessary since it's already installed.
  • Loading branch information
comminutus committed Feb 6, 2024
1 parent b69940a commit e69e0b2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,17 @@ RUN dnf install -y \
wget \
which

RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/distrobox && \
ln -s /usr/bin/distrobox-host-exec /usr/local/bin/fwupdmgr && \
ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman && \
ln -s /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \
ln -s /usr/bin/distrobox-host-exec /usr/local/bin/systemctl && \
ln -s /usr/bin/distrobox-host-exec /usr/local/bin/tailscale
COPY container_bin/* /usr/local/bin
RUN chmod +x /usr/local/bin/*

RUN ln -s /usr/bin/host-spawn-no-pty /usr/local/bin/com.vscodium.codium && \
ln -s /usr/bin/host-spawn /usr/local/bin/distrobox && \
ln -s /usr/bin/host-spawn /usr/local/bin/fwupdmgr && \
ln -s /usr/bin/host-spawn-no-pty /usr/local/bin/org.vim.Vim && \
ln -s /usr/bin/host-spawn /usr/local/bin/podman && \
ln -s /usr/bin/host-spawn /usr/local/bin/rpm-ostree && \
ln -s /usr/bin/host-spawn /usr/local/bin/systemctl && \
ln -s /usr/bin/host-spawn /usr/local/bin/tailscale

# starship
ARG nerd_font_name=IntoneMono
Expand Down

0 comments on commit e69e0b2

Please sign in to comment.