This is a Dockerfile-based build set-up for the Swift Static Linux SDK.
To use it, you need to build the Docker image with
$ docker build -t static-swift-linux .then you can check-out the sources somewhere using
$ scripts/fetch-source.sh --clone-with-ssh --source-dir /path/to/sourceand finally use the Docker image to do your build
$ mkdir /path/to/products
$ docker run -it --rm \
-v /path/to/source:/source \
-v /path/to/products:/products \
static-swift-linux \
/scripts/build.sh --source-dir /source --products-dir /productsThe artifact bundle should appear at /path/to/products.
The scripts/build.sh script has a number of options you may wish to
investigate. Similarly with the scripts/fetch-source.sh script.