mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Add a consistent ARM64 image build process
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
33800a20d8
commit
41b452849c
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user