use the same dockerfile for arm and amd64.

This commit is contained in:
Miroslav Šedivý
2025-03-30 00:30:37 +01:00
parent 7e2b6501bd
commit 73a70eb5e7
3 changed files with 6 additions and 110 deletions
+5 -1
View File
@@ -286,7 +286,11 @@ prompt "Are you sure you want to build $BASE_IMAGE?"
if [ -z "$FLAVOR" ]; then
export RUNTIME_DOCKERFILE="Dockerfile"
else
export RUNTIME_DOCKERFILE="Dockerfile.$FLAVOR"
if [ -f "runtime/Dockerfile.$FLAVOR" ]; then
export RUNTIME_DOCKERFILE="Dockerfile.$FLAVOR"
else
export RUNTIME_DOCKERFILE="Dockerfile"
fi
fi
log "Building base image: $BASE_IMAGE"