[Dockerfile] removing a step, moving into the post-upgrade script
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user