fix: problems with host-spawn
This commit is contained in:
@@ -9,7 +9,7 @@ FROM quay.io/fedora/fedora:42
|
||||
RUN dnf update -y && \
|
||||
dnf copr enable -y atim/lazygit && \
|
||||
dnf -y install neovim unzip awk jq \
|
||||
bash-completion host-spawn zoxide fd-find chafa lazygit procps \
|
||||
bash-completion host-spawn dbus-launch zoxide fd-find chafa lazygit procps \
|
||||
git go npm
|
||||
|
||||
# === setup container user ===
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" "$@"
|
||||
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" $(basename "$0") "$@"
|
||||
|
||||
4
enter.sh
4
enter.sh
@@ -22,8 +22,8 @@ run_args() {
|
||||
arg "--net=host"
|
||||
|
||||
# Configure options for host-spawn
|
||||
arg "--volume /run/user/1000/bus:/tmp/bus" # Use host dbus.
|
||||
arg "-e HOST_HOME=\"$HOME\"" # Pas in host $HOME path.
|
||||
arg "-v /run/user/1000/bus:/tmp/bus" # Use host dbus.
|
||||
arg "-e HOST_HOME=$HOME" # Pas in host $HOME path.
|
||||
|
||||
# Mount the wayland socket. Required to get the system
|
||||
# clipbard (wl-copy) working.
|
||||
|
||||
Reference in New Issue
Block a user