docker-windows/prepare_image.sh
Gytis Stoškevičius 6e08a5a2ea Add debug
2025-04-01 10:15:04 +03:00

19 lines
447 B
Bash
Executable file

#!/usr/bin/env bash
set -Eeuox pipefail
source env.sh
echo "start to build and install windows"
docker compose up windows-build --build
echo "windows installed, now stop container"
docker stop windows-build
echo "commit all the changes"
docker commit windows-build "$IMAGE_NAME:$IMAGE_VERSION"
docker images
docker push "$IMAGE_NAME:$IMAGE_VERSION"
echo "start container with windows installed"
docker compose up windows-installed -d --wait