forked from vrnetlab/vrnetlab
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,6 @@ | ||
FROM ubuntu:20.04 | ||
LABEL maintainer="Kristian Larsson <kristian@spritelink.net>" | ||
LABEL maintainer="Roman Dodin <dodin.roman@gmail.com>" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update -qy \ | ||
&& apt-get upgrade -qy \ | ||
&& apt-get install -y \ | ||
bridge-utils \ | ||
iproute2 \ | ||
python3-ipy \ | ||
socat \ | ||
qemu-kvm \ | ||
tcpdump \ | ||
tftpd-hpa \ | ||
ssh \ | ||
inetutils-ping \ | ||
dnsutils \ | ||
openvswitch-switch \ | ||
iptables \ | ||
nftables \ | ||
telnet \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# base image dockerfile is defined in https://github.com/hellt/vrnetlab | ||
FROM ghcr.io/srl-labs/vrnetlab-base:0.2.0 | ||
|
||
ARG IMAGE | ||
COPY $IMAGE* / | ||
COPY *.py / | ||
|
||
EXPOSE 22 80 161/udp 443 830 5000 6030 10000-10099 57400 | ||
HEALTHCHECK CMD ["/healthcheck.py"] | ||
ENTRYPOINT ["/launch.py"] |