-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (20 loc) · 808 Bytes
/
Makefile
File metadata and controls
24 lines (20 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
help:
@echo "\`make <target>\` where <target> is one of"
@echo " build build the image"
@echo " bash to make bash for the docker environment"
@echo " grantaccess to make the environment fit by changing the modes"
@echo " upload uploads to docker hub"
build:
@docker compose --project-name debian up --build -d
bash:
@#docker compose --project-name debian run --rm --name nasmc nasm
@docker exec -it nasm bash
grantaccess:
@#docker compose --project-name debian exec nasm cp -R source source
@docker compose --project-name debian exec nasm chgrp docker source
@docker compose --project-name debian exec nasm chmod 777 source
@#docker exec -u root nasmc chmod 777 .
upload:
@docker login
@docker tag debian_nasm:latest ichux/debian_nasm:latest
@docker push ichux/debian_nasm:latest