-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathDockerfile
35 lines (28 loc) · 802 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
FROM ubuntu:20.04
ENV DUDE_VERSION=4.0beta3
ARG DUDE_STUFF=dude-install-$DUDE_VERSION.exe
ARG DUDE_HOME=/dude
COPY installer/$DUDE_STUFF /
RUN dpkg --add-architecture i386 \
&& apt-get -qq update \
&& apt-get -qq --option APT::Immediate-Configure=false install --no-install-recommends \
netcat \
p7zip-full \
wine32 \
xvfb \
> /dev/null \
&& 7z x -o$DUDE_HOME \
-x!uninstall.exe \
-x!data/files/*.ttf \
-x!data/files/images/* \
-x!data/files/mibs/* \
$DUDE_STUFF \
> /dev/null \
&& chmod +x $DUDE_HOME/dude.exe \
&& apt-get -qq clean \
&& rm --recursive --force /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& rm --force $DUDE_STUFF
COPY container/ /
WORKDIR $DUDE_HOME
ENV DISPLAY=:0
CMD ["/entrypoint.sh"]