Skip to content

Commit

Permalink
Builders: Ensure /etc/mtab is available on Docker mingw64 image build
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Oct 1, 2023
1 parent 74e457a commit 52a5e88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builders/Dockerfile.mingw64
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 52a5e88

Please sign in to comment.