fix(dnew): sleep 1s before checking code-server
This commit is contained in:
parent
55bc6030eb
commit
24cc2ea4bb
|
@ -71,6 +71,7 @@ if [[ "$ret" == "1" ]]; then
|
||||||
echo "Container $container_name started. You can use the following command to get in:"
|
echo "Container $container_name started. You can use the following command to get in:"
|
||||||
echo "sudo docker exec -it $container_name bash"
|
echo "sudo docker exec -it $container_name bash"
|
||||||
if [[ "$image_name" == "git.nasp.fit/nasp/nasp-ubuntu" ]]; then
|
if [[ "$image_name" == "git.nasp.fit/nasp/nasp-ubuntu" ]]; then
|
||||||
|
sleep 1s
|
||||||
sudo docker exec -it $container_name code.sh
|
sudo docker exec -it $container_name code.sh
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user