mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-01-05 08:33:29 +00:00
Do not copy QEMU user binary
This commit is contained in:
parent
d602925a09
commit
af641b071b
@ -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 \
|
||||
|
2
Makefile
2
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' \
|
||||
|
Loading…
Reference in New Issue
Block a user