rcore-os / rCore-Tutorial-v3

Let's write an OS which can run on RISC-V in Rust from scratch!
https://rcore-os.github.io/rCore-Tutorial-Book-v3/index.html
GNU General Public License v3.0
1.58k stars 452 forks source link

Fix docker file #151

Open Luv-Ray opened 1 month ago

Luv-Ray commented 1 month ago

error when I run make build_docker:

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

docker version:

docker --version
Docker version 27.1.1, build 63125853e3

Adding / after /usr/local/bin fixes it.