mirror of
https://github.com/EvilFreelancer/docker-routeros.git
synced 2025-08-03 17:44:34 +02:00
Add last Mikrotik 6.49 release
This commit is contained in:
parent
1e83bfa67e
commit
a3e85227bd
1 changed files with 6 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
@ -11,18 +11,20 @@ WORKDIR /routeros
|
|||
|
||||
# Install dependencies
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --update \
|
||||
&& apk add --no-cache --update \
|
||||
netcat-openbsd qemu-x86_64 qemu-system-x86_64 \
|
||||
busybox-extras iproute2 iputils \
|
||||
bridge-utils iptables jq bash python3
|
||||
|
||||
# Environments which may be change
|
||||
ENV ROUTEROS_VERSION="7.1beta6"
|
||||
ENV ROUTEROS_VERSION="6.49.12"
|
||||
ENV ROUTEROS_IMAGE="chr-${ROUTEROS_VERSION}.vdi"
|
||||
ENV ROUTEROS_PATH="https://download.mikrotik.com/routeros/${ROUTEROS_VERSION}/${ROUTEROS_IMAGE}"
|
||||
ENV ROUTEROS_PATH="https://download.mikrotik.com/routeros/${ROUTEROS_VERSION}/${ROUTEROS_IMAGE}.zip"
|
||||
|
||||
# Download VDI image from remote site
|
||||
RUN wget "$ROUTEROS_PATH" -O "/routeros/$ROUTEROS_IMAGE"
|
||||
RUN wget "$ROUTEROS_PATH" -O "/routeros/${ROUTEROS_IMAGE}.zip" && \
|
||||
unzip "/routeros/${ROUTEROS_IMAGE}.zip" -d "/routeros" && \
|
||||
rm -f "/routeros/${ROUTEROS_IMAGE}.zip"
|
||||
|
||||
# Copy script to routeros folder
|
||||
ADD ["./scripts", "/routeros"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue