-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.alpine
executable file
·30 lines (27 loc) · 905 Bytes
/
Dockerfile.alpine
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
FROM jlesage/baseimage-gui:alpine-3.20-v4.6.3@sha256:37c970f3aa3287e3dc3c5e8d5e273425b149eb44992c8ce658c83f767ae218a5
ENV WINEPREFIX /config/wine/
ENV APP_NAME="Backblaze Personal Backup"
ENV FORCE_LATEST_UPDATE="true"
ENV DISABLE_AUTOUPDATE="true"
ENV DISABLE_VIRTUAL_DESKTOP="true"
ENV DISPLAY_WIDTH="900"
ENV DISPLAY_HEIGHT="700"
# Disable WINE Debug messages
ENV WINEDEBUG -all
# Set DISPLAY to allow GUI programs to be run
ENV DISPLAY=:0
RUN apk update && \
apk add --no-cache \
curl \
wine=9.0-r0 \
samba \
xvfb \
dpkg \
dpkg \
&& apk add --no-cache --virtual .build-deps \
&& curl -Lo /usr/local/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
&& chmod +x /usr/local/bin/winetricks \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/*
COPY rootfs/ /
RUN chmod +x /startapp.sh