Attemtp winbox v4

This commit is contained in:
Merith 2025-06-05 13:16:45 -07:00
parent 29b5f38836
commit f85ffa6c21

View file

@ -1,9 +1,19 @@
FROM alpine:latest as builder
RUN apk add --no-cache unzip wget
RUN wget -O /tmp/WinBox_Linux.zip https://download.mikrotik.com/routeros/winbox/4.0beta22/WinBox_Windows.zip && \
unzip /tmp/WinBox_Linux.zip -d /tmp/winbox && \
wget -O /tmp/upx.tar.xz https://github.com/upx/upx/releases/download/v5.0.1/upx-5.0.1-amd64_linux.tar.xz && \
tar -xf /tmp/upx.tar.xz -C /tmp && \
mv /tmp/winbox/WinBox.exe /WinBox.exe && \
/tmp/upx-5.0.1-amd64_linux/upx /WinBox.exe
FROM git.merith.xyz/gns3/base-vnc:latest FROM git.merith.xyz/gns3/base-vnc:latest
RUN apk add --no-cache wine wget RUN apk add --no-cache wine wget
# Pre-download Winbox COPY --from=builder /WinBox.exe /WinBox.exe
RUN wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
# Preload Wine Mono # Preload Wine Mono
RUN mkdir -p /usr/share/wine/mono && \ RUN mkdir -p /usr/share/wine/mono && \