build_in_docker.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 14 Aug 2022 19:15:04 +0200
changeset 98 54c0e2662dd3
parent 66 b90bcdaaba0e
permissions -rwxr-xr-x
revisions.txt is expected in $CWD When building Windows installer, in $CWD/sources for Snap. Deal with it for now.
37
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     1
#!/bin/bash
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     2
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     3
CONTAINER=beremiz_public_builder_current
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     4
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     5
docker start $CONTAINER 
65
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 61
diff changeset
     6
echo exec docker with $*
66
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 65
diff changeset
     7
docker exec $CONTAINER bash -c "build $*"
37
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     8
docker stop $CONTAINER
fd09116d3537 New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     9