diff --git a/Dockerfile b/Dockerfile index 0b771c68..4117cd70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG VERSION_ARG="latest" FROM scratch AS build-amd64 -COPY --from=qemux/qemu:7.44 / / +COPY --from=qemux/qemu:7.45 / / ARG TARGETARCH diff --git a/src/image.sh b/src/image.sh index 6679bbd5..b89b68d7 100644 --- a/src/image.sh +++ b/src/image.sh @@ -1417,24 +1417,6 @@ detectESDImage() { return 0 } -baseDir() { - - # TODO: Can be removed with base image 7.45+ - - local path="${1%/}" - - [[ -z "$path" || "$path" == "/" ]] && { - echo "/" - return 0 - } - - path="${path#/}" - path="${path%%/*}" - - echo "/$path" - return 0 -} - checkFreeSpace() { local dir="$1"