21 lines
378 B
Bash
Executable File
21 lines
378 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ev
|
|
|
|
buildAndPush() {
|
|
cp bootstrap.sh $1
|
|
cp /usr/bin/qemu-arm-static $1
|
|
docker build -t statusteam/$1 $1
|
|
# docker push statusteam/$1
|
|
rm $1/bootstrap.sh $1/qemu-arm-static
|
|
}
|
|
|
|
if [ "$1" = "all" -o "$BUILD_ALL" = "true" ]
|
|
then
|
|
buildAndPush debian-pre-nim
|
|
fi
|
|
|
|
#buildAndPush nim-base
|
|
buildAndPush nim-base-arm32v7
|
|
#buildAndPush nim-base-arm64v8
|