浏览代码

cambios 1.4

Luciano Andrade 7 年之前
父节点
当前提交
cc01b1ce97
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 0
      .drone.yml
  2. 2 1
      1.4.0/Dockerfile

+ 2 - 0
.drone.yml

@@ -17,6 +17,7 @@ pipeline:
    tag:
       - latest
       - "1.3.0"
+      - "1.3"
    when:
       event: [pull_request, push, tag]
       branch: master
@@ -32,6 +33,7 @@ pipeline:
    tag:
       - latest
       - "1.4.0"
+      - "1.4"
    when:
       event: [pull_request, push, tag]
       branch: master

+ 2 - 1
1.4.0/Dockerfile

@@ -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