filter the juices
All checks were successful
Build Docker Image on Commit v4 / build-and-publish (push) Successful in 26s

This commit is contained in:
Merith 2025-06-05 14:26:16 -07:00
parent b7c8fd0ec9
commit bff5d820b3
2 changed files with 3 additions and 13 deletions

View file

@ -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 && \ 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 && \ 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 COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

View file

@ -1,14 +1,3 @@
#!/bin/bash #!/bin/bash
# Wait until internet is available /WinBox
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