diff --git a/base.Containerfile b/base.Containerfile index eaa9782..12e34f4 100644 --- a/base.Containerfile +++ b/base.Containerfile @@ -2,7 +2,7 @@ FROM alpine:latest RUN apk update && apk add --no-cache \ git openssh helix bash bash-completion go curl \ - helix-tree-sitter-vendor podman-compose + helix-tree-sitter-vendor podman-compose wl-clipboard # tree-sitter-yaml, tree-sitter-caddy diff --git a/enter.sh b/enter.sh index f623112..4145fc9 100755 --- a/enter.sh +++ b/enter.sh @@ -21,9 +21,11 @@ if [ "$(podman container inspect "$name" -f {{.State.Running}} 2>&1)" != 'true' --network host \ -e HOST_HOME=$HOME \ -e SSH_AUTH_SOCK='/tmp/ssh.sock' \ + -e XDG_RUNTIME_DIR='/tmp/xdg' \ -v /run/user/$UID/bus:/tmp/dbus.sock \ -v /run/user/$UID/keyring/ssh:/tmp/ssh.sock \ -v /run/user/$UID/podman/podman.sock:/tmp/podman.sock \ + -v /run/user/$UID/wayland-0:/tmp/xdg/wayland-0 -v $HOME/dev:/home/user/dev \ -v v-$name:/home/user:copy \ --rm -td git.plabble.org/maurice/$name:main