File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- test :
1+ test : # # run testinfra tests against the project
22 docker run --rm -t \
33 -v $(shell pwd) :/project \
44 -v /var/run/docker.sock:/var/run/docker.sock:ro \
55 aveltens/docker-testinfra
66
7- build :
7+ build : # # build the docker image
88 docker build -t aveltens/solid-server ./src
99
10- inspect : build
10+ inspect : build # # run a shell in the docker image
1111 docker run --rm -it aveltens/solid-server sh
1212
13- .PHONY : test build inspect
13+ start : build # # start solid-server docker container
14+ docker run --rm --name solid-server -it -d aveltens/solid-server
15+
16+ stop : # # stop the solid-server docker container
17+ docker stop solid-server
18+
19+ attach : # # execute a shell in the running solid-server docker container
20+ docker exec -it solid-server sh
21+
22+ .PHONY : test build inspect run attach
You can’t perform that action at this time.
0 commit comments