nim-docker/build.sh

19 lines
323 B
Bash
Raw Normal View History

2018-11-13 18:39:20 +00:00
#!/bin/sh
2018-03-14 17:58:58 +00:00
set -ev
buildAndPush() {
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
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
buildAndPush nim-base-arm32v7
2018-11-13 18:39:20 +00:00
#buildAndPush nim-base-arm64v8