gns3-docker-appliances/router/Dockerfile

9 lines
307 B
Docker
Raw Normal View History

2024-09-20 08:13:47 +00:00
# As CentOS reached EOL we cannot build the image anymore
# So we reuse the work of Chewie for our own images
2024-09-20 12:00:21 +00:00
FROM chewiebeardy/gns3-router:2023
RUN mv /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.orig && ln -s /etc/sysconfig/dhcpd.conf /etc/dhcp/dhcpd.conf
2024-09-17 10:27:20 +00:00
2024-09-20 12:12:20 +00:00
RUN systemctl enable dhcpd
2024-09-17 10:27:20 +00:00
CMD ["/usr/sbin/init"]