|
@@ -10,7 +10,7 @@ RUN tar -zxvf kea-1.4.0-P1.tar.gz
|
|
|
RUN mv kea-1.4.0-P1 /opt/kea
|
|
|
|
|
|
RUN cd /opt/kea && autoreconf --install
|
|
|
-RUN cd /opt/kea && ./configure --with-dhcp-mysql --enable-shell
|
|
|
+RUN cd /opt/kea && ./configure --with-dhcp-mysql --enable-shell
|
|
|
RUN cd /opt/kea && make install
|
|
|
|
|
|
RUN cd /opt/kea && ldconfig
|
|
@@ -49,3 +49,4 @@ RUN cd hook/dhcp && make
|
|
|
COPY script.sh /opt/script.sh
|
|
|
RUN chmod +x /opt/script.sh
|
|
|
CMD /opt/script.sh
|
|
|
+HEALTHCHECK --interval=5s --timeout=3s CMD pgrep kea-dhcp4
|