Quellcode durchsuchen

Update dockerfile

Espinoza Guillermo vor 6 Jahren
Ursprung
Commit
af92b1e7bf
4 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  1. 3 0
      1.3.0/Dockerfile
  2. 1 1
      1.3.0/script.sh
  3. 3 0
      1.4.0/Dockerfile
  4. 1 1
      1.4.0/script.sh

+ 3 - 0
1.3.0/Dockerfile

@@ -53,6 +53,9 @@ RUN wget -O libzdb-3.1.tar.gz http://www.tildeslash.com/libzdb/dist/libzdb-3.1.t
 RUN tar xvzf libzdb-3.1.tar.gz
 RUN cd libzdb-3.1 && ./configure --without-postgresql --without-sqlite && make && make install
 
+RUN apt install -yq python-pip supervisor
+RUN pip install superfsmon
+
 COPY script.sh /opt/script.sh
 RUN chmod +x /opt/script.sh
 CMD /opt/script.sh

+ 1 - 1
1.3.0/script.sh

@@ -11,7 +11,7 @@ kea-admin lease-init mysql -h mysql -u $MYSQL_USER -p $MYSQL_ROOT_PASSWORD -n $D
 
 keactrl start -s dhcp4
 
-kea-ctrl-agent -c /usr/local/etc/kea/kea-ctrl-agent.conf
+/usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
 
 keactrl status
 

+ 3 - 0
1.4.0/Dockerfile

@@ -53,6 +53,9 @@ RUN wget -O libzdb-3.1.tar.gz http://www.tildeslash.com/libzdb/dist/libzdb-3.1.t
 RUN tar xvzf libzdb-3.1.tar.gz
 RUN cd libzdb-3.1 && ./configure --without-postgresql --without-sqlite && make && make install
 
+RUN apt install -yq python-pip supervisor
+RUN pip install superfsmon
+
 COPY script.sh /opt/script.sh
 RUN chmod +x /opt/script.sh
 CMD /opt/script.sh

+ 1 - 1
1.4.0/script.sh

@@ -11,7 +11,7 @@ kea-admin lease-init mysql -h mysql -u $MYSQL_USER -p $MYSQL_ROOT_PASSWORD -n $D
 
 keactrl start -s dhcp4
 
-kea-ctrl-agent -c /usr/local/etc/kea/kea-ctrl-agent.conf
+/usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
 
 keactrl status