Compare commits

...

2 commits

Author SHA1 Message Date
73f4ee47cb winbox download
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 23s
2025-06-05 06:07:01 +00:00
b5d060816e no arm 2025-06-05 05:54:38 +00:00
4 changed files with 18 additions and 4 deletions

View file

@ -35,7 +35,7 @@ jobs:
- name: Build and push multi-arch Docker images
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--platform linux/amd64 \
--tag $REPO_HOST/$REPO_PATH:${{ github.sha }} \
--tag $REPO_HOST/$REPO_PATH:nightly \
--push \

View file

@ -34,7 +34,7 @@ jobs:
- name: Build and push Docker images
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--platform linux/amd64 \
--tag $REPO_HOST/$REPO_PATH:$TAG \
--tag $REPO_HOST/$REPO_PATH:latest \
--push \

View file

@ -2,7 +2,7 @@
FROM git.merith.xyz/gns3/base-vnc:latest
## START setting your image here
# RUN apk add --no-cache firefox-esr
RUN apk add --no-cache wine
## STOP setting up your image here
# DO NOT REMOVE AND DO NOT ADD AN "ENTRYPOINT" COMMAND

View file

@ -1,3 +1,17 @@
#!/bin/bash
xterm
# 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 "/data/winbox64.exe" ]; then
echo "Winbox executable not found in /data. Downloading..."
mkdir -p /data
wget -O /data/winbox64.exe https://download.mikrotik.com/routeros/winbox/3.42/winbox64.exe
else
echo "Winbox executable found in /data."
fi
wine64 /tmp/winbox64.exe