From bb874fa9e03b8f114b48948debab877a69fe2d3a Mon Sep 17 00:00:00 2001 From: mudler Date: Fri, 5 Jun 2015 16:43:53 +0200 Subject: [PATCH] Removing portage and keeping profiles, adding licenses, installing sabayon kernel --- Dockerfile | 6 +++--- conf/spinbase-licenses | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7bbfe4a..deb8b71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,8 +65,8 @@ RUN equo up # Sorting mirrors RUN equo repo mirrorsort sabayonlinux.org -# Removing portage -RUN rm -rf /usr/portage/* +# Removing portage and keeping profiles +RUN cd /usr/portage/;ls | grep -v 'profiles' | xargs rm -rfv # Accepting licenses needed to continue automatic install/upgrade ADD ./conf/spinbase-licenses /etc/entropy/packages/license.accept @@ -86,7 +86,7 @@ RUN equo u # Handling install/removal of packages specified in env (and also the basic needed) # XXX: sabayon-artwork-core and linux-sabayon should be moved in molecules file -RUN equo i linux-sabayon sabayon-artwork-core $PACKAGES_TO_ADD +RUN equo i linux-sabayon sabayon-artwork-core sabayon-version $PACKAGES_TO_ADD RUN equo rm $PACKAGES_TO_REMOVE # Cleaning accepted licenses diff --git a/conf/spinbase-licenses b/conf/spinbase-licenses index dc0d83c..5d6520b 100644 --- a/conf/spinbase-licenses +++ b/conf/spinbase-licenses @@ -19,3 +19,4 @@ libtiff rc tcltk man-pages +man-pages-posix-2013