Adding makefile targets to clean shit

This commit is contained in:
Blallo 2018-08-01 18:27:30 +02:00
parent 220508309e
commit 30f599a0b0

View file

@ -17,3 +17,10 @@ build: fix-permissions
run: fix-permissions run: fix-permissions
docker-compose up docker-compose up
clean:
docker container rm $$(docker container ls -a|grep feedati|awk '{print $$1}')
clean-all: clean
docker rmi $$(docker images|grep feedati|awk '{print $3}') || true
docker volume rm feedati_postgres_data || true