-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
41 lines (32 loc) · 920 Bytes
/
Dockerfile
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
41
FROM debian:bookworm
LABEL org.opencontainers.image.authors="Tobias Gruetzmacher <[email protected]>"
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
RUN \
dpkg --add-architecture i386 \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
libvulkan1 \
unzip \
xauth \
xvfb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY fix-xvfb.sh /tmp/
ARG WINE_FLAVOUR=stable
RUN \
/tmp/fix-xvfb.sh \
&& sed -i '/^Enabled:/ s/no/yes/' /etc/apt/sources.list.d/* \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends \
winehq-${WINE_FLAVOUR} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/tini", "--"]
CMD ["/bin/bash"]