static-cross-bins/docker_build.sh
2022-07-28 00:58:46 -04:00

9 lines
297 B
Bash
Executable File

#!/usr/bin/env bash
# Use this script for reproducible builds!
# Any arguments supported by make are supported here.
# Example: ./docker_build.sh -j TARGET=arm-linux-musleabi all
set -e
docker build -t static-builder .
docker run -it -v "${PWD}/output":"/build/output" --rm static-builder "$@"