2018-11-13 18:39:20 +00:00
|
|
|
#!/bin/sh
|
2018-03-14 17:58:58 +00:00
|
|
|
|
|
|
|
set -ev
|
|
|
|
|
|
|
|
buildAndPush() {
|
2018-11-12 15:29:42 +00:00
|
|
|
cp bootstrap.sh $1
|
2018-03-14 17:58:58 +00:00
|
|
|
docker build -t statusteam/$1 $1
|
2018-11-13 18:39:20 +00:00
|
|
|
# docker push statusteam/$1
|
2018-11-12 15:29:42 +00:00
|
|
|
rm $1/bootstrap.sh
|
2018-03-14 17:58:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ "$1" = "all" -o "$BUILD_ALL" = "true" ]
|
|
|
|
then
|
|
|
|
buildAndPush debian-pre-nim
|
|
|
|
fi
|
2018-11-13 18:39:20 +00:00
|
|
|
#buildAndPush nim-base
|
2018-11-12 15:29:42 +00:00
|
|
|
buildAndPush nim-base-arm32v7
|
2018-11-13 18:39:20 +00:00
|
|
|
#buildAndPush nim-base-arm64v8
|