Skip to content

Commit e0878f5

Browse files
committed
add --rm for make docker, [MyBad]
1 parent e3410da commit e0878f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ clean:
1212
env:
1313
make -C os env
1414
docker:
15-
docker run -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
15+
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
1616

1717
build_docker: qemu-4.1.1.tar.xz riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz
1818
docker build -t ${DOCKER_NAME} .

0 commit comments

Comments
 (0)