Added the shell as paramter

This commit is contained in:
2024-08-23 16:38:34 +02:00
parent 7025f4e144
commit a168725607
+9 -1
View File
@@ -1,3 +1,11 @@
#!/bin/bash #!/bin/bash
docker exec -it toolchain-toolchain-1 /bin/zsh #!/bin/bash
# Ensure a command argument is provided
if [ -z "$1" ]; then
echo "Usage: $0 <command>"
exit 1
fi
docker exec -it toolchain-toolchain-1 "$1"