From 2440ae18ed78b000298bcc9495dd99325d19ce74 Mon Sep 17 00:00:00 2001 From: Scofield Zhang Date: Sun, 11 Feb 2024 07:08:54 -0500 Subject: [PATCH] the original dockerfile does not work properly Step 8/13 : COPY --from=build_qemu /usr/local/bin/* /usr/local/bin When using COPY with more than one source file, the destination must be a directory and end with a / make: *** [Makefile:8: build_docker] Error 1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 30731a7f5..efe9fed15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/source gdb-multiarch # 2.1. Copy qemu -COPY --from=build_qemu /usr/local/bin/* /usr/local/bin +COPY --from=build_qemu /usr/local/bin/* /usr/local/bin/ # 2.2. Install Rust # - https://www.rust-lang.org/tools/install