gns3-docker-appliances/router/Dockerfile

9 lines
307 B
Docker

# As CentOS reached EOL we cannot build the image anymore
# So we reuse the work of Chewie for our own images
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
RUN systemctl enable dhcpd
CMD ["/usr/sbin/init"]