|
|
@ -96,8 +96,9 @@ run: .container/image
|
|
|
|
# Removes the current container and image, so we can build a new one
|
|
|
|
# Removes the current container and image, so we can build a new one
|
|
|
|
# from scratch. If you want a real clean slate, then "make realclean"
|
|
|
|
# from scratch. If you want a real clean slate, then "make realclean"
|
|
|
|
clean:
|
|
|
|
clean:
|
|
|
|
docker container rm $(TAG):
|
|
|
|
docker container rm $(TAG)
|
|
|
|
docker image rm $(TAG):
|
|
|
|
docker image rm $(TAG)
|
|
|
|
|
|
|
|
rm -fv .container/*
|
|
|
|
|
|
|
|
|
|
|
|
# Deep cleaning, will remove dangling (intermediate build) images
|
|
|
|
# Deep cleaning, will remove dangling (intermediate build) images
|
|
|
|
# and containers for which a final image or container cannot be found
|
|
|
|
# and containers for which a final image or container cannot be found
|
|
|
@ -105,6 +106,7 @@ clean:
|
|
|
|
# containers. Run every once in a while.
|
|
|
|
# containers. Run every once in a while.
|
|
|
|
realclean:
|
|
|
|
realclean:
|
|
|
|
$(MAKE) clean
|
|
|
|
$(MAKE) clean
|
|
|
|
|
|
|
|
docker rmi $(TAG)
|
|
|
|
docker container prune
|
|
|
|
docker container prune
|
|
|
|
docker image prune
|
|
|
|
docker image prune
|
|
|
|
|
|
|
|
|
|
|
|