generated from gns3/vnc-template
filter the juices
All checks were successful
Build Docker Image on Commit v4 / build-and-publish (push) Successful in 26s
All checks were successful
Build Docker Image on Commit v4 / build-and-publish (push) Successful in 26s
This commit is contained in:
parent
b7c8fd0ec9
commit
bff5d820b3
2 changed files with 3 additions and 13 deletions
|
@ -17,7 +17,8 @@ COPY --from=builder /WinBox /WinBox
|
|||
|
||||
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk && \
|
||||
apk add --allow-untrusted glibc-2.35-r1.apk && \
|
||||
rm glibc-2.35-r1.apk
|
||||
rm glibc-2.35-r1.apk && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
|
@ -1,14 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Wait until internet is available
|
||||
while ! ping -c1 1.1.1.1 &>/dev/null; do
|
||||
echo "Waiting for internet connection..."
|
||||
sleep 5
|
||||
done
|
||||
|
||||
if [ ! -f "/winbox64.exe" ]; then
|
||||
echo "Winbox executable not found in /data. Downloading..."
|
||||
wget -O /winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
|
||||
fi
|
||||
|
||||
wine64 /winbox64.exe
|
||||
/WinBox
|
Loading…
Reference in a new issue