Commit 99be4b86 authored by Richard Marston's avatar Richard Marston
Browse files

Makefile improvement

parent 5baa1c4a
Pipeline #193961 passed with stage
in 3 minutes and 1 second
......@@ -40,6 +40,6 @@ start: stop
echo "Access Pintura at http://localhost:8082"
stop:
docker container stop pintura
$(shell echo ./stop_docker.sh)
.PHONY: all docker start stop
#!/bin/sh
running=$(docker container ls -aqf name=pintura);
echo "container listed as ${running}"
if [ ! -z "${running}" ];
then
echo "stopping container ${running}"
docker container stop $running | true;
sleep 5
fi;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment