2021-02-26 14:52:40 +00:00
|
|
|
FROM debian:stable
|
|
|
|
|
2022-03-10 19:09:41 +00:00
|
|
|
RUN dpkg --add-architecture i386 && \
|
|
|
|
dpkg --add-architecture s390x && \
|
|
|
|
dpkg --add-architecture armhf && \
|
|
|
|
dpkg --add-architecture arm64 && \
|
|
|
|
dpkg --add-architecture ppc64el
|
2021-02-26 14:52:40 +00:00
|
|
|
|
|
|
|
# dkpg-dev: to make pkg-config work in cross-builds
|
2020-11-09 16:52:12 +00:00
|
|
|
# llvm: for llvm-symbolizer, which is used by clang's UBSan for symbolized stack traces
|
2022-03-10 19:09:41 +00:00
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
2021-03-01 22:50:54 +00:00
|
|
|
git ca-certificates \
|
2021-02-26 14:52:40 +00:00
|
|
|
make automake libtool pkg-config dpkg-dev valgrind qemu-user \
|
2020-11-09 16:52:12 +00:00
|
|
|
gcc clang llvm libc6-dbg \
|
2021-07-05 08:33:36 +00:00
|
|
|
g++ \
|
2021-08-19 10:11:11 +00:00
|
|
|
gcc-i686-linux-gnu libc6-dev-i386-cross libc6-dbg:i386 libubsan1:i386 libasan6:i386 \
|
2021-04-17 17:57:16 +00:00
|
|
|
gcc-s390x-linux-gnu libc6-dev-s390x-cross libc6-dbg:s390x \
|
2021-05-02 19:48:38 +00:00
|
|
|
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6-dbg:armhf \
|
|
|
|
gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6-dbg:arm64 \
|
2021-06-08 15:03:53 +00:00
|
|
|
gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross libc6-dbg:ppc64el \
|
2022-03-10 19:09:41 +00:00
|
|
|
gcc-mingw-w64-x86-64-win32 wine64 wine \
|
|
|
|
gcc-mingw-w64-i686-win32 wine32 \
|
2022-02-03 11:58:55 +00:00
|
|
|
sagemath
|
2021-04-17 17:57:16 +00:00
|
|
|
|
2022-03-10 19:09:41 +00:00
|
|
|
WORKDIR /root
|
|
|
|
# The "wine" package provides a convience wrapper that we need
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
|
|
git ca-certificates wine64 wine python3-simplejson python3-six msitools winbind procps && \
|
|
|
|
git clone https://github.com/mstorsjo/msvc-wine && \
|
|
|
|
mkdir /opt/msvc && \
|
|
|
|
python3 msvc-wine/vsdownload.py --accept-license --dest /opt/msvc Microsoft.VisualStudio.Workload.VCTools && \
|
|
|
|
msvc-wine/install.sh /opt/msvc
|
|
|
|
|
|
|
|
# Initialize the wine environment. Wait until the wineserver process has
|
|
|
|
# exited before closing the session, to avoid corrupting the wine prefix.
|
|
|
|
RUN wine64 wineboot --init && \
|
|
|
|
while (ps -A | grep wineserver) > /dev/null; do sleep 1; done
|