FROM debian:latest AS BUILDER64 RUN dpkg --add-architecture i386 RUN apt-get update RUN apt-get upgrade -y ENV INSTALL_PREFIX /opt/wine RUN apt-get install -y --no-install-recommends\ devscripts build-essential wget curl git build-essential \ autotools-dev\ autoconf\ bison\ bsdmainutils\ flex\ fontforge\ gawk\ gcc\ gcc-mingw-w64-i686\ gcc-mingw-w64-x86-64\ gettext\ libacl1-dev\ libasound2-dev\ libfontconfig-dev\ libfreetype6-dev\ libgl1-mesa-dev\ libglu1-mesa-dev\ libgnutls28-dev\ libgtk-3-dev\ libice-dev\ libkrb5-dev\ libncurses-dev\ libopenal-dev\ libosmesa6-dev\ libpcap-dev\ libpulse-dev\ libsane-dev\ libsdl2-dev\ libssl-dev\ libstdc++-11-dev\ libudev-dev\ libvulkan-dev\ libx11-dev\ libxcomposite-dev\ libxcursor-dev\ libxext-dev\ libxi-dev\ libxinerama-dev\ libxrandr-dev\ libxrender-dev\ libxt-dev\ libxxf86vm-dev\ linux-libc-dev\ ocl-icd-opencl-dev\ patch\ perl\ sharutils\ unixodbc-dev\ x11proto-xinerama-dev\ && apt clean -y WORKDIR /tmp RUN git clone https://git.zontreck.com/zontreck/wine RUN cd wine && git checkout wine-9.0 && cd .. WORKDIR /tmp/wine RUN ./configure --without-tests --prefix=${INSTALL_PREFIX} --libdir=${INSTALL_PREFIX}/lib --enable-archs=x86_64,i386 RUN make -j$(nproc) RUN make install FROM git.zontreck.com/ariascreations/yolks:debian LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com" LABEL upstream="https://github.com/pelican-eggs/yolks" RUN dpkg --add-architecture i386 RUN apt-get update RUN apt-get install -y gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 COPY --from=BUILDER64 /opt/wine /opt/wine RUN export PATH=$PATH:/opt/wine/bin:/opt/wine/sbin RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/winetricks/winetricks/master/src/winetricks RUN chmod +x /usr/sbin/winetricks ENV HOME=/home/container ENV WINEPREFIX=/home/container/.wine ENV WINEDLLOVERRIDES="mscoree,mshtml=" ENV DISPLAY=:0 ENV DISPLAY_WIDTH=1024 ENV DISPLAY_HEIGHT=768 ENV DISPLAY_DEPTH=16 ENV AUTO_UPDATE=1 ENV XVFB=1 COPY ./entrypoint.sh /entrypoint.sh CMD ["/bin/bash", "/entrypoint.sh"]