Add Ubuntu18.04 docker

This commit is contained in:
Yifan Wu 2021-02-28 06:33:45 +08:00
parent 685ca2c1ea
commit 536a28bd59
4 changed files with 50 additions and 1 deletions

8
Makefile Normal file
View file

@ -0,0 +1,8 @@
DOCKER_NAME ?= dinghao188/rcore-tutorial
.PHONY: docker build_docker
docker:
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
build_docker:
docker build -t ${DOCKER_NAME} .