mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 07:52:15 +08:00
Correcterd make clean, added tree to image, added container-README.md
This commit is contained in:
parent
0476408511
commit
0b1e26065b
@ -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
|
||||
|
6
Makefile
6
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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user