generated from gns3/vnc-template
Attemtp winbox v4
This commit is contained in:
parent
29b5f38836
commit
f85ffa6c21
1 changed files with 13 additions and 3 deletions
14
Dockerfile
14
Dockerfile
|
@ -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
|
||||
|
||||
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
|
||||
COPY --from=builder /WinBox.exe /WinBox.exe
|
||||
|
||||
# Preload Wine Mono
|
||||
RUN mkdir -p /usr/share/wine/mono && \
|
||||
|
|
Loading…
Reference in a new issue