1
- FROM debian:stable
1
+ FROM debian:stable-slim
2
2
3
3
SHELL ["/bin/bash" , "-c" ]
4
4
@@ -20,8 +20,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
20
20
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6-dbg:armhf \
21
21
gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6-dbg:arm64 \
22
22
gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross libc6-dbg:ppc64el \
23
- gcc-mingw-w64-x86-64-win32 wine64 wine \
24
- gcc-mingw-w64-i686-win32 wine32 \
25
23
sagemath
26
24
27
25
WORKDIR /root
@@ -56,20 +54,3 @@ RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.
56
54
# Create symlinks for them
57
55
ln -s $(ls /usr/bin/clang-?? | sort | tail -1) /usr/bin/clang-snapshot && \
58
56
ln -s $(ls /usr/bin/clang-?? | sort | head -1) /usr/bin/clang
59
-
60
- # The "wine" package provides a convenience wrapper that we need
61
- RUN apt-get update && apt-get install --no-install-recommends -y \
62
- git ca-certificates wine64 wine python3-simplejson python3-six msitools winbind procps && \
63
- # Workaround for `wine` package failure to employ the Debian alternatives system properly.
64
- ln -s /usr/lib/wine/wine64 /usr/bin/wine64 && \
65
- # Set of tools for using MSVC on Linux.
66
- git clone https://github.com/mstorsjo/msvc-wine && \
67
- mkdir /opt/msvc && \
68
- python3 msvc-wine/vsdownload.py --accept-license --dest /opt/msvc Microsoft.VisualStudio.Workload.VCTools && \
69
- # Since commit 2146cbfaf037e21de56c7157ec40bb6372860f51, the
70
- # msvc-wine effectively initializes the wine prefix when running
71
- # the install.sh script.
72
- msvc-wine/install.sh /opt/msvc && \
73
- # Wait until the wineserver process has exited before closing the session,
74
- # to avoid corrupting the wine prefix.
75
- while (ps -A | grep wineserver) > /dev/null; do sleep 1; done
0 commit comments