|
@@ -9,9 +9,12 @@ RUN wget -O kea-1.3.0.tar.gz https://www.isc.org/downloads/file/kea-1-3-0/?versi
|
|
|
RUN tar -zxvf kea-1.3.0.tar.gz
|
|
|
RUN mv kea-1.3.0 /opt/kea
|
|
|
|
|
|
+# KEA HOOKS
|
|
|
+RUN cd /opt/kea && wget -O kea-subscription-1.3.0.tar.gz https://ftp.isc.org/isc/kea/private/47481ef775c232ef/kea-subscription-1.3.0.tar.gz && tar xvzf kea-subscription-1.3.0.tar.gz
|
|
|
+
|
|
|
RUN cd /opt/kea && autoreconf --install
|
|
|
-RUN cd /opt/kea && ./configure --with-dhcp-mysql --enable-shell
|
|
|
-RUN cd /opt/kea && make install
|
|
|
+RUN cd /opt/kea && ./configure --with-dhcp-mysql --enable-shell --with-tier2=yes
|
|
|
+RUN cd /opt/kea && make && make install
|
|
|
|
|
|
RUN cd /opt/kea && ldconfig
|
|
|
|
|
@@ -41,7 +44,6 @@ RUN cd amqpcpp && make && make install
|
|
|
RUN cp /usr/local/lib/x86_64-linux-gnu/librabbitmq.so /usr/local/lib/librabbitmq.so
|
|
|
RUN cp amqpcpp/libamqpcpp.a /usr/local/lib/libamqpcpp.a
|
|
|
RUN cp amqpcpp/libamqpcpp.so /usr/local/lib/libamqpcpp.so
|
|
|
-RUN ldconfig
|
|
|
|
|
|
COPY hook/ hook/
|
|
|
RUN cd hook/dhcp && make
|