fix: problems with host-spawn

This commit is contained in:
Job
2025-07-18 21:50:50 +02:00
parent 388da00743
commit 8e4e2b9aa2
3 changed files with 4 additions and 4 deletions

View File

@@ -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 ===

View File

@@ -1,2 +1,2 @@
#!/bin/sh
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" "$@"
host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" $(basename "$0") "$@"

View File

@@ -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.