From 0b1e26065bacf182881399baaa29d371e645d73e Mon Sep 17 00:00:00 2001 From: Hector Date: Fri, 25 Oct 2019 13:32:11 -0700 Subject: [PATCH] Correcterd make clean, added tree to image, added container-README.md --- Dockerfile | 2 +- Makefile | 6 ++++-- container-README.md | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbbd1fe4..8d4ebb2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apk --no-cache update && apk upgrade && \ apk add util-linux pciutils usbutils coreutils binutils\ findutils grep man man-pages mdocml-apropos less less-doc \ make grep zsh zsh-vcs zsh-zftp zsh-calendar zsh-doc git \ - vim git-zsh-completion tmux tmux-zsh-completion \ + vim git-zsh-completion tmux tmux-zsh-completion tree \ docker-zsh-completion RUN addgroup prezto && adduser -D prezto -G prezto -S /bin/zsh WORKDIR /home/prezto diff --git a/Makefile b/Makefile index b77f3a10..5507073e 100755 --- a/Makefile +++ b/Makefile @@ -96,8 +96,9 @@ run: .container/image # 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" clean: - docker container rm $(TAG): - docker image rm $(TAG): + docker container rm $(TAG) + docker image rm $(TAG) + rm -fv .container/* # Deep cleaning, will remove dangling (intermediate build) images # and containers for which a final image or container cannot be found @@ -105,6 +106,7 @@ clean: # containers. Run every once in a while. realclean: $(MAKE) clean + docker rmi $(TAG) docker container prune docker image prune diff --git a/container-README.md b/container-README.md index a528c58a..f016dc4b 100644 --- a/container-README.md +++ b/container-README.md @@ -8,6 +8,8 @@ in which to quickly make changes to either prezto-core or any plugin that may bein development, enabling automated testing and even continuous integration. +[![asciicast](https://asciinema.org/a/277054.svg)](https://asciinema.org/a/277054) + The container is a basic install of alpine linux, so the image download is reasonably small