From: W. Trevor King Date: Fri, 22 Aug 2014 10:51:06 +0000 (-0700) Subject: WIP trim.sh: Remove hack @world additions X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bcb3c9f3166060d30bc6b311538b3fe8f5ffde79;p=dockerfile.git WIP trim.sh: Remove hack @world additions These should be added to @world by the Dockerfiles that require them (it's possible that the trim script itself needs sys-apps/findutils, and we may want to setup BusyBox before removing Bash). --- diff --git a/trim.sh b/trim.sh index 89ddec8..07cd96d 100755 --- a/trim.sh +++ b/trim.sh @@ -46,14 +46,10 @@ trim() then IMG="${IMG}:${TAG}" fi - #sys-apps/openrc (/sbin/rc) - #sys-apps/net-tools (/bin/hostname) - #sys-devel/gettext (/usr/bin/envsubst) docker run -t --name "${CONTAINER}" \ -v "${PWD}/empty-system.py:/tmp/empty-system.py" \ "${IMAGE}" /bin/bash -c " /tmp/empty-system.py && - emerge --noreplace app-shells/bash sys-apps/findutils sys-apps/net-tools sys-apps/openrc sys-devel/gettext virtual/package-manager && emerge -v --with-bdeps=n --depclean && rm -rf /usr/portage" || die "failed to create ${CONTAINER}"