forked from tom300z/backblaze-personal-wine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
37 lines (27 loc) · 921 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
FROM docker.io/amd64/alpine
# Install required packages
RUN apk --update --no-cache add xvfb x11vnc openbox samba-winbind-clients ncurses
RUN echo "https://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk --no-cache add wine
RUN apk --no-cache add msttcorefonts-installer fontconfig && \
update-ms-fonts && \
fc-cache -f
# Configure the virtual display port
ENV DISPLAY :0
# Expose the vnc port
EXPOSE 5900
# Configure the wine prefix location
RUN mkdir /wine
ENV WINEPREFIX /wine/
# Disable wine debug messages
ENV WINEDEBUG -all
# Configure wine to run without mono or gecko as they are not required
ENV WINEDLLOVERRIDES mscoree,mshtml=
# Set the wine computer name
ENV COMPUTER_NAME bz-docker
# Create the data Directory
RUN mkdir /data
# Copy the start script to the container
COPY start.sh /start.sh
# Set the start script as entrypoint
ENTRYPOINT ./start.sh