Chore: PowerShell script for docker build (#5535)

* added powershell script to build using docker

* fix empty variant

* make sure build folder exists

* added docker_build.ps1 to readme

* Tweaked readme to include reason for docker_build.ps1

---------

Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
This commit is contained in:
Jakub Trllo 2023-08-29 17:48:33 +02:00 committed by GitHub
parent 04145020f6
commit ed53ef12d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 102 additions and 0 deletions

View file

@ -144,6 +144,10 @@ sudo ./tools/docker_build.sh centos7
If all is successful, you'll find built OpenPype in `./build/` folder.
Docker build can be also started from Windows machine, just use `./tools/docker_build.ps1` instead of shell script.
This could be used even for building linux build (with argument `centos7` or `debian`)
#### Manual build
You will need [Python >= 3.9](https://www.python.org/downloads/) and [git](https://git-scm.com/downloads). You'll also need [curl](https://curl.se) on systems that doesn't have one preinstalled.