diff --git a/patches/patch-manylinux.diff b/patches/patch-manylinux.diff index 25a0811..0581543 100644 --- a/patches/patch-manylinux.diff +++ b/patches/patch-manylinux.diff @@ -94,7 +94,7 @@ index 04dfa24..a35abb5 100755 case "${OS_ID_LIKE}" in *rhel*) OS_ID_LIKE=rhel;; *alpine*) OS_ID_LIKE=alpine;; -+ *debian*) OS_ID_LIKE=debian;; ++ *debian*) OS_ID_LIKE=debian;; *) echo "unsupported image"; exit 1;; esac @@ -103,11 +103,11 @@ index 04dfa24..a35abb5 100755 elif [ "${PACKAGE_MANAGER}" = "apk" ]; then apk add --no-cache "$@" + elif [ "${PACKAGE_MANAGER}" = "apt" ]; then -+ export DEBIAN_FRONTEND=noninteractive -+ sed -i 's/none/en_US/g' /etc/apt/apt.conf.d/docker-no-languages -+ apt-get update -qq -+ apt-get upgrade -qq -y -+ apt-get install -qq -y --no-install-recommends "$@" ++ export DEBIAN_FRONTEND=noninteractive ++ sed -i 's/none/en_US/g' /etc/apt/apt.conf.d/docker-no-languages ++ apt-get update -qq ++ apt-get upgrade -qq -y ++ apt-get install -qq -y --no-install-recommends "$@" else return 1 fi @@ -125,8 +125,8 @@ index 04dfa24..a35abb5 100755 elif [ "${PACKAGE_MANAGER}" = "apk" ]; then : + elif [ "${PACKAGE_MANAGER}" = "apt" ]; then -+ apt-get clean -qq -+ rm -rf /var/lib/apt/lists/* ++ apt-get clean -qq ++ rm -rf /var/lib/apt/lists/* else return 1 fi