feat: make container updates easier
This commit is contained in:
15
enter.sh
Executable file
15
enter.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
name="${1:-dev}"
|
||||
podman container rm -f -t 1 "$name"
|
||||
podman run -it \
|
||||
--name "$name" \
|
||||
-v /run/user/1000/wayland-0:/run/user/1000/wayland-0 \
|
||||
-v "$SSH_AUTH_SOCK":/run/user/1000/ssh-auth-sock \
|
||||
-v ~/Documents:/home/user/Documents \
|
||||
-v ~/.ssh:/home/user/.ssh \
|
||||
-v ~/.config/git:/home/user/.config/git \
|
||||
-v ~/.config/github-copilot:/home/user/.config/github-copilot \
|
||||
-v "$name"-local:/home/user/.local \
|
||||
--security-opt label=disable \
|
||||
--userns=keep-id \
|
||||
dev
|
||||
Reference in New Issue
Block a user