diff --git a/scripts/linux/pkg/deb/ubuntu_multiarch.Dockerfile b/scripts/linux/pkg/deb/ubuntu_multiarch.Dockerfile index 28c0fdca9025..1c06c7646be1 100644 --- a/scripts/linux/pkg/deb/ubuntu_multiarch.Dockerfile +++ b/scripts/linux/pkg/deb/ubuntu_multiarch.Dockerfile @@ -9,12 +9,12 @@ COPY --from=qemu /usr/bin/qemu-${QEMU_ARCH}-static /usr/bin ARG DISTRO_VERSION_NAME ARG DISTRO_VERSION -RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y dos2unix devscripts dh-make wget gettext-base lintian curl debhelper - RUN apt update \ && apt-get -y dist-upgrade \ && apt install -y curl wget apt-transport-https +RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y dos2unix devscripts dh-make wget gettext-base lintian curl debhelper + # https://stackoverflow.com/a/70771488 RUN for i in /etc/ssl/certs/*.pem; do HASH=$(openssl x509 -hash -noout -in $i); if [ ! -f /etc/ssl/certs/$HASH.0 ]; then ln -s $(basename $i) /etc/ssl/certs/$HASH.0; fi; done