3
# builds a basic arma build environment based on alpine
4
# usage: $0 <base image name> <target image name>
8
bin=`echo $1 | sed -e "s,/,_,g"`
10
bd="${wd}/context/armalpine_${bin}_$2"
12
mkdir -p ${wd}/context
14
cp -ax ${wd}/armalpine ${bd} || exit $?
16
${sd}/download.sh ${bd}/download/ZThread-2.3.2.tar.gz https://sourceforge.net/projects/zthread/files/ZThread/2.3.2/ZThread-2.3.2.tar.gz/download
17
${sd}/download.sh ${bd}/download/zthread.patch.bz2 https://forums3.armagetronad.net/download/file.php?id=9628
19
${sd}/build_image.sh "$1" "$2" "${bd}"