Add script to prebuild in Docker container

This commit is contained in:
Kitaiti Makoto 2021-01-02 23:49:01 +09:00
parent 254eef6a2a
commit 3ac94b3e43

6
script/prebuild-in-docker.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -euo pipefail
version="$1"
docker run --rm -v $PWD:/repo -v $PWD/pkg:/pkg -v $PWD/script/prebuild.sh:/prebuild.sh plumeorg/plume-buildenv:v0.3.0 /prebuild.sh "$version" /repo /prebuild /pkg