From bff5d820b3879d4ef9b56686025bd6f5d4e556ab Mon Sep 17 00:00:00 2001 From: Merith Date: Thu, 5 Jun 2025 14:26:16 -0700 Subject: [PATCH] filter the juices --- Dockerfile | 3 ++- entrypoint.sh | 13 +------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index b01d6ac..5e87cfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 42bfd87..01453ae 100644 --- a/entrypoint.sh +++ b/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 \ No newline at end of file