Skip to content

Commit ae75d3e

Browse files
committed
Update Docker
1 parent c6b262f commit ae75d3e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
DOCKER_NAME ?= dinghao188/rcore-tutorial
1+
DOCKER_NAME ?= rcore-tutorial-v3
22
.PHONY: docker build_docker
3-
3+
44
docker:
5-
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
5+
docker run --rm -it -v ${PWD}:/mnt -w /mnt ${DOCKER_NAME} bash
66

77
build_docker:
88
docker build -t ${DOCKER_NAME} .
9+
910
fmt:
10-
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..
11+
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..
12+

0 commit comments

Comments
 (0)