-
Notifications
You must be signed in to change notification settings - Fork 52
/
Dockerfile
52 lines (41 loc) · 1.32 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
FROM phusion/baseimage
MAINTAINER jshridha
# Set correct environment variables
ENV HOME /root
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Configure user nobody to match unRAID's settings
RUN \
usermod -u 99 nobody && \
usermod -g 100 nobody && \
usermod -d /config nobody && \
chown -R nobody:users /home
RUN apt-get update && apt-get -y install xvfb x11vnc xdotool wget supervisor cabextract websockify net-tools
ENV WINEPREFIX /root/prefix32
ENV WINEARCH win32
ENV DISPLAY :0
# Install wine
RUN \
dpkg --add-architecture i386 && \
wget -nc https://dl.winehq.org/wine-builds/Release.key && \
apt-key add Release.key && \
apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ && \
apt-get update && \
apt-get -y install --allow-unauthenticated --install-recommends winehq-devel wine-mono wine-gecko
RUN \
cd /usr/bin/ && \
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \
chmod +x winetricks && \
sh winetricks corefonts wininet
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD blueiris.sh /root/blueiris.sh
RUN chmod +x /root/blueiris.sh
RUN mv /root/prefix32 /root/prefix32_original && \
mkdir /root/prefix32
WORKDIR /root/
ADD novnc /root/novnc/
# Expose Port
EXPOSE 8080
CMD ["/usr/bin/supervisord"]