mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 01:16:26 +04:00
Update Docker
This commit is contained in:
parent
648907524e
commit
00d1d1bf3a
10
Makefile
10
Makefile
@ -1,10 +1,12 @@
|
||||
DOCKER_NAME ?= dinghao188/rcore-tutorial
|
||||
DOCKER_NAME ?= rcore-tutorial-v3
|
||||
.PHONY: docker build_docker
|
||||
|
||||
|
||||
docker:
|
||||
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
|
||||
docker run --rm -it -v ${PWD}:/mnt -w /mnt ${DOCKER_NAME} bash
|
||||
|
||||
build_docker:
|
||||
docker build -t ${DOCKER_NAME} .
|
||||
|
||||
fmt:
|
||||
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..
|
||||
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user