-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (32 loc) · 1 KB
/
Dockerfile
File metadata and controls
40 lines (32 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM debian:trixie
LABEL org.opencontainers.image.authors="Tobias Gruetzmacher <tobias-docker@23.gs>"
ENV DEBIAN_FRONTEND=noninteractive
# renovate: datasource=github-releases depName=krallin/tini
ARG TINI_VERSION=0.19.0
ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tini
RUN chmod +x /tini
COPY apt /etc/apt
COPY fix-xvfb.sh wine-dependencies.txt /tmp/
RUN \
dpkg --add-architecture i386 \
&& apt-get install -y --update --no-install-recommends \
ca-certificates \
curl \
unzip \
xauth \
xvfb \
&& apt-get install -y --no-install-recommends --mark-auto \
$(cat /tmp/wine-dependencies.txt) \
&& rm /tmp/wine-dependencies.txt \
&& /tmp/fix-xvfb.sh \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ARG WINE_FLAVOUR=stable
RUN \
sed -i '/^Enabled:/ s/no/yes/' /etc/apt/sources.list.d/* \
&& apt-get install -y --update --no-install-recommends \
winehq-${WINE_FLAVOUR} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/tini", "--"]
CMD ["/bin/bash"]