profanity: Cleanup Dockerfile
This commit is contained in:
parent
5b201f5689
commit
3e1e3c0a36
1 changed files with 7 additions and 3 deletions
|
@ -31,10 +31,14 @@ RUN cd /tmp \
|
||||||
&& rm -rf yaourt.tar.gz yaourt \
|
&& rm -rf yaourt.tar.gz yaourt \
|
||||||
## Install profanity
|
## Install profanity
|
||||||
&& cd /home/user \
|
&& cd /home/user \
|
||||||
&& yaourt --sync --noconfirm profanity-git \
|
&& yaourt --sync --noconfirm profanity-git
|
||||||
## Cleanup
|
## Cleanup
|
||||||
&& sudo pacman --noconfirm -Rcns yaourt package-query git \
|
RUN sudo pacman --noconfirm -Rcns yaourt package-query git \
|
||||||
&& sudo pacman --noconfirm -Rsn $(pacman -Qqdt)
|
&& pacman -Qgq base > /tmp/pkg_base \
|
||||||
|
&& pacman -Qgq base-devel > /tmp/pkg_base-devel \
|
||||||
|
&& grep -f /tmp/pkg_base -v /tmp/pkg_base-devel > /tmp/pkg_devel
|
||||||
|
#&& sudo pacman --noconfirm -Rsu base-devel \
|
||||||
|
#&& sudo pacman --noconfirm -Rsn $(pacman -Qqdt)
|
||||||
|
|
||||||
WORKDIR /home/user
|
WORKDIR /home/user
|
||||||
CMD ["/usr/sbin/profanity"]
|
CMD ["/usr/sbin/profanity"]
|
||||||
|
|
Reference in a new issue