generated from gns3/vnc-template
Compare commits
2 commits
8bf0269636
...
73f4ee47cb
Author | SHA1 | Date | |
---|---|---|---|
73f4ee47cb | |||
b5d060816e |
4 changed files with 18 additions and 4 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue