aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Clouter <[email protected]>2020-09-20 11:05:02 +0100
committerAlexander Clouter <[email protected]>2020-09-20 11:18:11 +0100
commit07b9c8b80def9e6dc82ee821c466cbe1df20481e (patch)
tree363206535d0855ba987353bf4669e2eba7247d26
parentREADME update for current feature set (diff)
downloaddocker-osx-07b9c8b80def9e6dc82ee821c466cbe1df20481e.tar.xz
docker-osx-07b9c8b80def9e6dc82ee821c466cbe1df20481e.zip
empty pkg cache
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b8111b2..0827c9a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -72,6 +72,7 @@ RUN tee -a /etc/pacman.conf <<< '[community-testing]' \
RUN pacman -Syu --noconfirm \
&& pacman -S sudo git make automake gcc python go autoconf cmake pkgconf alsa-utils fakeroot --noconfirm \
+ && yes | pacman -Scc \
&& useradd arch -p arch \
&& tee -a /etc/sudoers <<< 'arch ALL=(ALL) NOPASSWD: ALL' \
&& mkdir /home/arch \
@@ -106,7 +107,7 @@ RUN perl -p -i -e 's/print("Succeeded:")/exit()/' ./gibMacOS.command
# this command takes a while!
RUN python gibMacOS.command -v "${VERSION}" -d || echo Done
-RUN sudo pacman -Syu qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf netctl libvirt-dbus libguestfs --noconfirm
+RUN sudo pacman -Syu qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf netctl libvirt-dbus libguestfs --noconfirm && yes | pacman -Scc
# RUN sudo systemctl enable libvirtd.service
# RUN sudo systemctl enable virtlogd.service