diff --git a/docker/dhcp/Dockerfile b/docker/dhcp/Dockerfile index cb078ef..931ee25 100644 --- a/docker/dhcp/Dockerfile +++ b/docker/dhcp/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.3 +FROM alpine:3.14 MAINTAINER developers@gns3.net RUN apk add --update dnsmasq && rm -rf /var/cache/apk/* diff --git a/docker/dhcp/README.rst b/docker/dhcp/README.rst index 4bc562a..4862c43 100644 --- a/docker/dhcp/README.rst +++ b/docker/dhcp/README.rst @@ -5,7 +5,7 @@ This container provide a basic DHCP server fro GNS3 topologies build on top of dnsmasq. At first startup a sample config will be write in -/etc/dnsmasq/dnsmaq.conf +/etc/dnsmasq/dnsmasq.conf You can customize the server by editing this file and restarting the container. diff --git a/docker/dhcp/boot.sh b/docker/dhcp/boot.sh index 93e8c60..73c6f15 100644 --- a/docker/dhcp/boot.sh +++ b/docker/dhcp/boot.sh @@ -18,9 +18,9 @@ mkdir -p /etc/dnsmasq -if [ ! -f /etc/dnsmasq/dnsmaq.conf ] +if [ ! -f /etc/dnsmasq/dnsmasq.conf ] then - cat > /etc/dnsmasq/dnsmaq.conf < /etc/dnsmasq/dnsmasq.conf <