diff --git a/Dockerfile b/Dockerfile index 0f4bd50..3c3fd46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,13 @@ MAINTAINER mudler # 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 && \