Archived
2
0

change ARM Dockerfile base & names.

This commit is contained in:
m1k1o 2021-04-03 13:50:54 +02:00
parent 208735a305
commit f9aaabd831
4 changed files with 4 additions and 4 deletions

View File

@ -52,10 +52,10 @@ build_arm() {
if [ "$1" = "base" ]
then
# build ARM base
docker build -t "${BUILD_IMAGE}:arm-base" -f arm-base/Dockerfile "${BASE}"
docker build -t "${BUILD_IMAGE}:arm-base" -f base/Dockerfile.arm "${BASE}"
else
# buld ARM image
docker build -t "${BUILD_IMAGE}:arm-$1" --build-arg="BASE_IMAGE=${BUILD_IMAGE}:arm-base" -f "$1/DockerfileARM" "$1/"
docker build -t "${BUILD_IMAGE}:arm-$1" --build-arg="BASE_IMAGE=${BUILD_IMAGE}:arm-base" -f "$1/Dockerfile.arm" "$1/"
fi
}

View File

@ -1,4 +1,4 @@
ARG BASE_IMAGE=m1k1o/neko:base
ARG BASE_IMAGE=m1k1o/neko:arm-base
FROM $BASE_IMAGE
#

View File

@ -1,4 +1,4 @@
ARG BASE_IMAGE=m1k1o/neko:base
ARG BASE_IMAGE=m1k1o/neko:arm-base
FROM $BASE_IMAGE
#