[armhfp] use ACCEPT_LICENSE=*

This commit is contained in:
Ettore Di Giacinto
2016-08-28 21:25:41 +02:00
committed by GitHub
parent 97841334ea
commit 22befddfa4
+6 -10
View File
@@ -4,20 +4,16 @@ MAINTAINER mudler <mudler@sabayonlinux.org>
# Set locales to en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
ENV ACCEPT_LICENSE=*
# Adding qemu-static, so amd64 can build this image
ADD ./ext/qemu-arm-static /usr/bin/qemu-arm-binfmt
RUN mv /etc/entropy/repositories.conf.d/entropy_sabayonlinux.org.example /etc/entropy/repositories.conf.d/entropy_sabayonlinux.org
RUN rsync -av "rsync://rsync.at.gentoo.org/gentoo-portage/licenses/" "/usr/portage/licenses/" && \
ls /usr/portage/licenses -1 | xargs -0 > /etc/entropy/packages/license.accept && \
equo rescue spmsync && equo up && equo u --multifetch=10 && \
equo i --multifetch=10 app-admin/sudo net-misc/openssh net-misc/networkmanager \
app-misc/sabayon-live app-misc/sabayon-skel net-misc/ntp \
sys-apps/keyboard-configuration-helpers \
sys-apps/systemd app-misc/sabayon-version \
sys-process/vixie-cron && \
rm -rf /etc/entropy/packages/license.accept && echo -5 | equo conf update
RUN equo rescue spmsync && equo up && equo u --multifetch=10 && \
equo i --multifetch=10 app-admin/sudo net-misc/openssh net-misc/networkmanager \
app-misc/sabayon-live app-misc/sabayon-skel net-misc/ntp \
sys-apps/keyboard-configuration-helpers sys-apps/systemd app-misc/sabayon-version \
sys-process/vixie-cron && echo -5 | equo conf update
# Cleanup and applying configs
ADD ./scripts/setup.sh /setup.sh
RUN chmod +x /setup.sh && /bin/bash /setup.sh && rm -rf /setup.sh