Add adoc alias for asciidoctor container

This commit is contained in:
Anthony Rose 2023-01-13 15:02:42 +00:00
parent b9f9ecf515
commit 1e2034cf79

View file

@ -244,6 +244,7 @@ then
_acp_add_path "$GOPATH/bin" _acp_add_path "$GOPATH/bin"
fi fi
alias adoc='podman run --rm --interactive --tty --security-opt label=disable --volume "$PWD":/documents docker.io/asciidoctor/docker-asciidoctor'
alias prun='podman run --rm --interactive --tty --security-opt label=disable --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='podman run --rm --interactive --tty --security-opt label=disable --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 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'