bake mono
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 34s
Build and Publish Docker Image on Tag / build-and-publish (push) Successful in 31s

This commit is contained in:
Merith 2025-06-05 06:37:50 +00:00
parent a94535293d
commit 29b5f38836

View file

@ -1,11 +1,15 @@
# use the base VNC image
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
## STOP setting up your image here
# DO NOT REMOVE AND DO NOT ADD AN "ENTRYPOINT" COMMAND
# Preload Wine Mono
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
RUN chmod +x /entrypoint.sh