Yolks/wine/8.0/Dockerfile

42 lines
No EOL
1.2 KiB
Docker

FROM debian:latest AS BUILDER64
RUN dpkg --add-architecture i386
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y wget curl rsync
ENV INSTALL_PREFIX /opt/wine
WORKDIR /opt/wine
RUN wget https://ci.zontreck.com/job/ThirdParty/job/Wine/job/8.0/lastSuccessfulBuild/artifact/wine.tgz
RUN tar -xvf wine.tgz && rm wine.tgz
FROM git.zontreck.com/packages/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
ENV 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"]