Ticket #29105: write-dockerfile.sh.patch

File write-dockerfile.sh.patch, 759 bytes (added by gh-sheerluck, 18 months ago)
  • build/bin/write-dockerfile.sh

    diff --git a/build/bin/write-dockerfile.sh b/build/bin/write-dockerfile.sh
    index e82d1ea8a5..ac176b65ee 100755
    a b EOF 
    5656        EXISTS="2>/dev/null >/dev/null yum install -y --downloadonly"
    5757        INSTALL="yum install -y"
    5858        ;;
     59    gentoo*)
     60        cat <<EOF
     61ARG BASE_IMAGE=fbissey/sage-on-gentoo-stage4:latest
     62FROM \${BASE_IMAGE} as with-system-packages
     63EOF
     64        EXISTS="2>/dev/null >/dev/null emerge -f"
     65        UPDATE="" # not needed. "FROM gentoo/portage" used instead
     66        INSTALL="emerge -DNut --with-bdeps=y --complete-graph=y"
     67        ;;
    5968    slackware*)
    6069        # https://docs.slackware.com/slackbook:package_management
    6170        cat <<EOF