FROM tianon/wine RUN apt-get update \ && apt-get -y install \ cabextract \ wget \ xvfb \ && rm -rf /var/lib/apt/lists/* RUN wget -nv -O /usr/local/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ && chmod +x /usr/local/bin/winetricks RUN adduser --gecos '' --disabled-password wine ENV WINEARCH=win32 USER wine RUN wineboot \ && sh -c ' \ Xvfb :0 & \ export DISPLAY=:0 \ && winetricks -q corefonts \ && winetricks -q windowscodecs' \ && rm -rf /home/wine/.cache/winetricks/ RUN sh -c ' \ Xvfb :0 & \ DISPLAY=:0 winetricks -q dotnet35sp1' \ && rm -rf /home/wine/.cache/winetricks/ # headless instalation does not work → manual intallation and copying of # installed files # #RUN cd /tmp \ # && wget -nv 'https://download.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.exe' \ # && wine ADE_2.0_Installer.exe \ # && rm ADE_2.0_Installer.exe ADD ["ade.tar.xz", "/home/wine/.wine/drive_c/Program Files/Adobe/"] RUN cp /home/wine/.wine/user.reg /home/wine/.wine/user.reg.factory COPY entrypoint.sh / ENTRYPOINT ["/entrypoint.sh"]