forked from gauntlt/gauntlt-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (32 loc) · 871 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
all: help
build:
@echo "Building docker container..."
@./build-gauntlt.sh
build-dev:
@echo "Building docker development container..."
@docker build -f Dockerfile-dev -t gauntlt-dev .
clean:
@echo "Removing unused docker containers..."
@./docker-clean.sh
clean-all: clean
@echo "Removing gauntlt image..."
@docker rmi gauntlt
interactive:
@docker run --rm -it --entrypoint /bin/bash gauntlt
install-stub:
@echo "installing gauntlt-docker to /usr/local/bin"
@cp ./bin/gauntlt-docker /usr/local/bin
runexamples:
@echo "Running all examples"
@docker run --rm -it -v ${CURDIR}/examples:/attacks gauntlt
help:
@echo "the help menu"
@echo " make build"
@echo " make build-dev"
@echo " make clean"
@echo " make clean-all"
@echo " make help"
@echo " make install-stub"
@echo " make interactive"
@echo " make runexamples"
.PHONY: build clean