1
0
Fork 0

Correcterd make clean, added tree to image, added container-README.md

pull/1753/head
Hector 5 years ago
parent 0476408511
commit 0b1e26065b

@ -4,7 +4,7 @@ RUN apk --no-cache update && apk upgrade && \
apk add util-linux pciutils usbutils coreutils binutils\ apk add util-linux pciutils usbutils coreutils binutils\
findutils grep man man-pages mdocml-apropos less less-doc \ findutils grep man man-pages mdocml-apropos less less-doc \
make grep zsh zsh-vcs zsh-zftp zsh-calendar zsh-doc git \ 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 docker-zsh-completion
RUN addgroup prezto && adduser -D prezto -G prezto -S /bin/zsh RUN addgroup prezto && adduser -D prezto -G prezto -S /bin/zsh
WORKDIR /home/prezto WORKDIR /home/prezto

@ -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

@ -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 that may bein development, enabling automated testing and even
continuous integration. 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 The container is a basic install of alpine linux, so the image
download is reasonably small download is reasonably small

Loading…
Cancel
Save