Skip to content

Commit 8bad6ee

Browse files
committed
fix: mount current directory to podman run
This is needed in cases where the repo is not under the home folder (ie WSL) resolves #636
1 parent b8b68dc commit 8bad6ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/pattern-util.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ podman run -it --rm --pull=newer \
104104
-e K8S_AUTH_PASSWORD \
105105
-e K8S_AUTH_TOKEN \
106106
${PKI_HOST_MOUNT_ARGS} \
107+
-v "$(pwd)":"$(pwd)" \
107108
-v "${HOME}":"${HOME}" \
108109
-v "${HOME}":/pattern-home \
109110
${PODMAN_ARGS} \

0 commit comments

Comments
 (0)