~armagetronad-dev/armagetronad/0.2.8-armagetronad-work

« back to all changes in this revision

Viewing changes to docker/images/build_armalpine.sh

  • Committer: Manuel Moos (From GitLab CI)
  • Date: 2020-06-01 08:21:51 UTC
  • mfrom: (1166.1.98 master)
  • Revision ID: z-man@users.sf.net-20200601082151-qludv3x0h9uz2c9x
Merge CI system from 0.2.8.3 with adaptions

Adaptions:
Bump docker label versions
Switch release track to CURRENT

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# builds a basic arma build environment based on alpine
 
4
# usage: $0 <base image name> <target image name>
 
5
 
 
6
set -x
 
7
 
 
8
bin=`echo $1 | sed -e "s,/,_,g"`
 
9
wd="`dirname $0`"
 
10
bd="${wd}/context/armalpine_${bin}_$2"
 
11
sd="${wd}/../scripts"
 
12
mkdir -p ${wd}/context
 
13
rm -rf ${bd}
 
14
cp -ax ${wd}/armalpine ${bd} || exit $?
 
15
 
 
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
 
18
 
 
19
${sd}/build_image.sh "$1" "$2" "${bd}"
 
20
 
 
21