Fix workdir

This commit is contained in:
Anthony Rose 2023-02-16 23:11:20 +00:00
parent c272780653
commit 81cfd6476b

View file

@ -249,9 +249,9 @@ fi
export _acp_podman_run='podman run --rm --interactive --tty --security-opt label=disable' export _acp_podman_run='podman run --rm --interactive --tty --security-opt label=disable'
alias adoc='$_acp_podman_run --volume "$(pwd)":/documents docker.io/asciidoctor/docker-asciidoctor:latest' alias adoc='$_acp_podman_run --volume "$(pwd)":/documents docker.io/asciidoctor/docker-asciidoctor:latest'
alias pgo='$_acp_podman_run --volume "$(pwd)":/devel --workdir /build docker.io/library/golang:latest' alias pgo='$_acp_podman_run --volume "$(pwd)":/devel --workdir /devel docker.io/library/golang:latest'
alias prun='$_acp_podman_run --volume "$HOME":"$HOME" --volume "$XDG_RUNTIME_DIR":"$XDG_RUNTIME_DIR" --env XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" --env XDG_SESSION_TYPE=wayland --ipc host' alias prun='$_acp_podman_run --volume "$HOME":"$HOME" --volume "$XDG_RUNTIME_DIR":"$XDG_RUNTIME_DIR" --env XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" --env XDG_SESSION_TYPE=wayland --ipc host'
alias prust='$_acp_podman_run --volume "$(pwd)":/devel --workdir /build docker.io/library/rust:latest' alias prust='$_acp_podman_run --volume "$(pwd)":/devel --workdir /devel docker.io/library/rust:latest'
alias pruncerts='prun --volume /etc/pki/ca-trust:/etc/pki/ca-trust:ro --volume /etc/ssl/certs:/etc/ssl/certs:ro' alias pruncerts='prun --volume /etc/pki/ca-trust:/etc/pki/ca-trust:ro --volume /etc/ssl/certs:/etc/ssl/certs:ro'
# Set up SSH agent if it's not already running. # Set up SSH agent if it's not already running.