mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
19 lines
447 B
Bash
Executable file
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
|