FROM git.merith.xyz/gns3/base-vnc:latest 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 # 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