From af641b071b747a27363c4741395760f52d59b1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sat, 20 Jul 2024 16:39:26 +0200 Subject: [PATCH] Do not copy QEMU user binary --- Dockerfile.m4 | 1 - Makefile | 2 -- 2 files changed, 3 deletions(-) diff --git a/Dockerfile.m4 b/Dockerfile.m4 index 9dce41b..2944089 100644 --- a/Dockerfile.m4 +++ b/Dockerfile.m4 @@ -93,7 +93,6 @@ RUN mkisofs -no-emul-boot -iso-level 4 -eltorito-boot loader/isoboot.bin -o /tmp ################################################## m4_ifdef([[CROSS_ARCH]], [[FROM docker.io/CROSS_ARCH/ubuntu:22.04]], [[FROM docker.io/ubuntu:22.04]]) AS base -m4_ifdef([[CROSS_QEMU]], [[COPY --from=docker.io/hectorm/qemu-user-static:latest CROSS_QEMU CROSS_QEMU]]) # Install system packages RUN export DEBIAN_FRONTEND=noninteractive \ diff --git a/Makefile b/Makefile index d8bc11f..59e9795 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,6 @@ $(IMAGE_AMD64_DOCKERFILE): $(DOCKERFILE_TEMPLATE) '$(M4)' \ --prefix-builtins \ --define=CROSS_ARCH=amd64 \ - --define=CROSS_QEMU=/usr/bin/qemu-x86_64-static \ '$(DOCKERFILE_TEMPLATE)' > '$@' '$(DOCKER)' build $(IMAGE_BUILD_OPTS) \ --tag '$(IMAGE_NAME):$(IMAGE_VERSION)-amd64' \ @@ -86,7 +85,6 @@ $(IMAGE_ARM64V8_DOCKERFILE): $(DOCKERFILE_TEMPLATE) '$(M4)' \ --prefix-builtins \ --define=CROSS_ARCH=arm64v8 \ - --define=CROSS_QEMU=/usr/bin/qemu-aarch64-static \ '$(DOCKERFILE_TEMPLATE)' > '$@' '$(DOCKER)' build $(IMAGE_BUILD_OPTS) \ --tag '$(IMAGE_NAME):$(IMAGE_VERSION)-arm64v8' \