generated from gns3/vnc-template
bake mono
This commit is contained in:
parent
a94535293d
commit
29b5f38836
1 changed files with 10 additions and 6 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,11 +1,15 @@
|
||||||
# use the base VNC image
|
|
||||||
FROM git.merith.xyz/gns3/base-vnc:latest
|
FROM git.merith.xyz/gns3/base-vnc:latest
|
||||||
## START setting your image here
|
|
||||||
|
|
||||||
RUN apk add --no-cache wine
|
RUN apk add --no-cache wine wget
|
||||||
|
|
||||||
|
# Pre-download Winbox
|
||||||
RUN wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
|
RUN wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
|
||||||
|
|
||||||
## STOP setting up your image here
|
# Preload Wine Mono
|
||||||
# DO NOT REMOVE AND DO NOT ADD AN "ENTRYPOINT" COMMAND
|
RUN mkdir -p /usr/share/wine/mono && \
|
||||||
|
wget https://dl.winehq.org/wine/wine-mono/9.0.0/wine-mono-9.0.0-x86.msi -O /usr/share/wine/mono/wine-mono.msi && \
|
||||||
|
wineboot --init && \
|
||||||
|
wine msiexec /i /usr/share/wine/mono/wine-mono.msi /qn
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
Loading…
Reference in a new issue