Archived
1
0
Fork 0

profanity: Cleanup Dockerfile

This commit is contained in:
Joerg Elfring 2019-10-03 13:46:03 +02:00
parent 5b201f5689
commit 3e1e3c0a36

View file

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