Skip to content

Commit

Permalink
update wine images in preparation for astro colony
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Oct 22, 2023
1 parent ca78d6f commit 2d6eef2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
10 changes: 8 additions & 2 deletions wine/devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN apt install -y --no-install-recommends \
speex:i386 \
tar \
telnet \
tini \
tzdata \
wget \
winbind \
Expand Down Expand Up @@ -113,5 +114,10 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
# Sets the default stop signal as wings can (currently) only send a kill or generic stop
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
10 changes: 8 additions & 2 deletions wine/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN apt install -y \
speex:i386 \
tar \
telnet \
tini \
tzdata \
wget \
winbind \
Expand Down Expand Up @@ -116,5 +117,10 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
# Sets the default stop signal as wings can (currently) only send a kill or generic stop
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
11 changes: 9 additions & 2 deletions wine/staging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN apt install -y --no-install-recommends \
speex:i386 \
tar \
telnet \
tini \
tzdata \
wget \
winbind \
Expand Down Expand Up @@ -100,6 +101,7 @@ RUN apt install --install-recommends winehq-staging cabextract fonts
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
RUN chmod +x /usr/sbin/winetricks

# Setup ENVs
ENV HOME=/home/container
ENV WINEPREFIX=/home/container/.wine
ENV WINEDLLOVERRIDES="mscoree,mshtml="
Expand All @@ -114,5 +116,10 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
# Sets the default stop signal as wings can (currently) only send a kill or generic stop
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

0 comments on commit 2d6eef2

Please sign in to comment.