mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-29 17:18:54 +00:00
15 lines
388 B
Docker
15 lines
388 B
Docker
FROM alpine:latest
|
|
RUN apk add --no-cache nano openvswitch tcpdump net-snmp lldpd
|
|
RUN mkdir -p /run/openvswitch && mkdir -p /var/log/openvswitch
|
|
COPY snmpd.conf /etc/snmp/snmpd.conf
|
|
COPY lldpd.conf /etc/lldpd.d/lldpd.conf
|
|
COPY rstp /bin/rstp
|
|
RUN chmod a+x /bin/rstp
|
|
COPY boot.sh /bin/boot.sh
|
|
RUN chmod a+x /bin/boot.sh
|
|
|
|
VOLUME /etc/openvswitch/
|
|
VOLUME /etc/lldpd.d/
|
|
|
|
CMD ["/bin/boot.sh"]
|