Add a consistent ARM64 image build process

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
This commit is contained in:
Radoslav Dimitrov
2018-12-03 00:20:34 +02:00
committed by Alex Ellis
parent 33800a20d8
commit 41b452849c
4 changed files with 30 additions and 4 deletions

View File

@ -9,6 +9,9 @@ export eTAG="latest-dev"
if [ "$arch" = "armv7l" ] ; then
dockerfile="Dockerfile.armhf"
eTAG="latest-armhf-dev"
elif [ "$arch" = "aarch64" ] ; then
dockerfile="Dockerfile.arm64"
eTAG="latest-arm64-dev"
fi
echo "$1"
@ -16,6 +19,8 @@ if [ "$1" ] ; then
eTAG=$1
if [ "$arch" = "armv7l" ] ; then
eTAG="$1-armhf"
elif [ "$arch" = "aarch64" ] ; then
eTAG="$1-arm64"
fi
fi