-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
58 lines (49 loc) · 1.85 KB
/
Dockerfile
File metadata and controls
58 lines (49 loc) · 1.85 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FROM debian:buster-slim
USER root
ENV DEBIAN_FRONTEND noninteractive
ARG APT_FLAGS="-y -qq --no-install-recommends --no-install-suggests"
ARG CORE_PACKAGES="\
ca-certificates \
curl \
xauth \
xvfb \
"
RUN apt-get update ${APT_FLAGS} \
&& apt-get install ${APT_FLAGS} ${CORE_PACKAGES} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY apt /etc/apt
ARG WINE_BRANCH
ARG WINE_VERSION
ARG WINE_PACKAGES="\
libfaudio0 \
winbind \
wine-${WINE_BRANCH}-amd64=${WINE_VERSION} \
wine-${WINE_BRANCH}-i386=${WINE_VERSION} \
wine-${WINE_BRANCH}=${WINE_VERSION} \
winehq-${WINE_BRANCH}=${WINE_VERSION} \
"
RUN dpkg --add-architecture i386 \
&& apt-get update ${APT_FLAGS} \
&& apt-get install ${APT_FLAGS} ${WINE_PACKAGES} \
&& apt-get autoremove ${APT_FLAGS} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ARG WINETRICKS_URL="https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
RUN curl -sL ${WINETRICKS_URL} | install /dev/stdin /usr/local/bin/winetricks
ARG CREATED_DATE
ARG REFNAME
ARG REPOSITORY
LABEL org.opencontainers.image.authors="Richard 'Sylver' Kemp <sylver@materya.io>"
LABEL org.opencontainers.image.created=${CREATED_DATE}
LABEL org.opencontainers.image.description="Image containing a minimal Wine ${WINE_BRANCH} environment based on debian buster-slim. Headless with Xvfb."
LABEL org.opencontainers.image.documentation="${REPOSITORY}/specs/wine"
LABEL org.opencontainers.image.licenses="GPL-3.0-only"
LABEL org.opencontainers.image.ref.name=${REFNAME}
LABEL org.opencontainers.image.revision=
LABEL org.opencontainers.image.source=${REPOSITORY}
LABEL org.opencontainers.image.title="Wine ${WINE_BRANCH} Headless Base Container"
LABEL org.opencontainers.image.url="${REPOSITORY}/specs/wine"
LABEL org.opencontainers.image.vendor="Materya"
LABEL org.opencontainers.image.version=${WINE_VERSION}
CMD ["/bin/bash"]