df
This commit is contained in:
parent
2f73d17ae0
commit
f25ce8d59f
1 changed files with 1 additions and 3 deletions
|
@ -21,13 +21,11 @@ if ! [ -f "./id_ed25519" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo -e "${GREEN}Pull image...${RESET}"
|
||||
docker pull --quiet ${IMAGE}
|
||||
|
||||
echo -e "${GREEN}Start session...${RESET}"
|
||||
docker run -it \
|
||||
-v $PWD:/ansible-homeserver \
|
||||
-w /ansible-homeserver ${IMAGE} \
|
||||
/bin/bash -c "git config --global --add safe.directory /ansible-homeserver && echo Branch: \$(git rev-parse --abbrev-ref HEAD) && /bin/bash"
|
||||
/bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash"
|
||||
|
||||
# todo shellcheck
|
||||
|
|
Loading…
Reference in a new issue