mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
change ARM Dockerfile base & names.
This commit is contained in:
parent
208735a305
commit
f9aaabd831
@ -52,10 +52,10 @@ build_arm() {
|
|||||||
if [ "$1" = "base" ]
|
if [ "$1" = "base" ]
|
||||||
then
|
then
|
||||||
# build ARM base
|
# 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
|
else
|
||||||
# buld ARM image
|
# 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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ARG BASE_IMAGE=m1k1o/neko:base
|
ARG BASE_IMAGE=m1k1o/neko:arm-base
|
||||||
FROM $BASE_IMAGE
|
FROM $BASE_IMAGE
|
||||||
|
|
||||||
#
|
#
|
@ -1,4 +1,4 @@
|
|||||||
ARG BASE_IMAGE=m1k1o/neko:base
|
ARG BASE_IMAGE=m1k1o/neko:arm-base
|
||||||
FROM $BASE_IMAGE
|
FROM $BASE_IMAGE
|
||||||
|
|
||||||
#
|
#
|
Loading…
Reference in New Issue
Block a user