Dockerfile: switch to ACCEPT_LICENSE=*

This commit is contained in:
Ettore Di Giacinto
2017-03-25 12:02:31 +01:00
parent a9655e556d
commit e04bb1c338
+3 -5
View File
@@ -4,15 +4,13 @@ MAINTAINER mudler <mudler@sabayonlinux.org>
# Set locales to en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
# Accepting licenses needed to continue automatic install/upgrade
ADD ./conf/spinbase-licenses /etc/entropy/packages/license.accept
# Accept all licenses
ENV ACCEPT_LICENSE=*
# Upgrading packages and perform post-upgrade tasks (mirror sorting, updating repository db)
ADD ./script/post-upgrade.sh /post-upgrade.sh
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 up && equo u && \
RUN equo up && equo u && \
echo -5 | equo conf update
RUN /bin/bash /post-upgrade.sh && \