diff --git a/builders/Dockerfile.mingw64 b/builders/Dockerfile.mingw64 index 2dda689..054c263 100644 --- a/builders/Dockerfile.mingw64 +++ b/builders/Dockerfile.mingw64 @@ -24,9 +24,10 @@ LABEL org.opencontainers.image.licenses="GPL-2.0" # install native tools and libraries RUN set -ex && \ - dpkg --add-architecture i386 && \ # ensure /etc/mtab is available, pacman depends on it - ln -sf /proc/mounts /etc/mtab && \ + test -e /etc/mtab || ln -s /proc/mounts /etc/mtab && \ + # add i386 architecture for mingw64 + dpkg --add-architecture i386 && \ # add Debian backports for "pacman" package manager, can be removed after updating this image to Debian Bookworm echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && \ apt-get update && \