[Dockerfile] removing a step, moving into the post-upgrade script

This commit is contained in:
mudler
2015-06-07 13:54:37 +02:00
parent 75ce75a5c5
commit 31488e8929
2 changed files with 6 additions and 3 deletions
-3
View File
@@ -33,9 +33,6 @@ ADD ./conf/spinbase-licenses /etc/entropy/packages/license.accept
# Upgrading packages
RUN equo u && echo -5 | equo conf update
# We ensure to have those packages from the beginning
RUN equo i sys-boot/grub:2 linux-sabayon sabayon-artwork-core sabayon-version sabayon-artwork-grub sabayon-live
# Perform post-upgrade tasks (mirror sorting, updating repository db)
ADD ./script/post-upgrade.sh /post-upgrade.sh
RUN /bin/bash /post-upgrade.sh && rm -rf /post-upgrade.sh
+6
View File
@@ -80,6 +80,12 @@ PACKAGES_TO_ADD=(
"app-text/pastebunz"
"app-admin/perl-cleaner"
"sys-apps/grep"
"app-misc/sabayon-live"
"sys-boot/grub:2"
"sys-kernel/linux-sabayon"
"x11-themes/sabayon-artwork-core"
"app-misc/sabayon-version"
"x11-themes/sabayon-artwork-grub"
)
# Handling install/removal of packages specified in env