Skip to content
Snippets Groups Projects
Commit f361953d authored by ping's avatar ping
Browse files

Remove sudo when launching Docker

parent c77f0f5e
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,10 @@ image_name := builder_nexus_iso
all: build
run:
sudo docker run -it --rm -v $(PWD)/..:/data --workdir /data/live_exam_os --privileged ${image_name} ./build.sh $(PARAM)
docker run -it --rm -v $(PWD)/..:/data --workdir /data/live_exam_os --privileged ${image_name} ./build.sh $(PARAM)
build:
cd .. && sudo docker build -t ${image_name} -f live_exam_os/Dockerfile .
cd .. && docker build -t ${image_name} -f live_exam_os/Dockerfile .
bios:
qemu-system-x86_64 -drive file=$(ISO),format=raw -boot d -m 4G -smp 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment