Jelajahi Sumber

fix ipython-controller build fail (#2027)

Shao Yu-Lung (Allen) 6 tahun lalu
induk
melakukan
d404555cf5
3 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 1 0
      .travis.yml
  2. 2 2
      ipython/Dockerfile.controller
  3. 1 1
      ipython/Dockerfile.engine

+ 1 - 0
.travis.yml

@@ -30,6 +30,7 @@ env:
     - PHP_VERSION=NA BUILD_SERVICE="adminer phpmyadmin pgadmin"
     - PHP_VERSION=NA BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 haproxy"
     - PHP_VERSION=NA BUILD_SERVICE="kibana grafana laravel-echo-server"
+    - PHP_VERSION=NA BUILD_SERVICE="ipython-controller"
     # - PHP_VERSION=NA BUILD_SERVICE="aws"
 
 # Installing a newer Docker version

+ 2 - 2
ipython/Dockerfile.controller

@@ -4,7 +4,7 @@ LABEL maintainer="ahkui <ahkui@outlook.com>"
 
 USER root
 
-RUN apk add --no-cache build-base
+RUN apk add --no-cache build-base zeromq-dev
 
 RUN python -m pip --quiet --no-cache-dir install \
         ipyparallel
@@ -14,4 +14,4 @@ RUN ipython profile create --parallel --profile=default
 COPY ipcontroller-client.json /root/.ipython/profile_default/security/ipcontroller-client.json
 COPY ipcontroller-engine.json /root/.ipython/profile_default/security/ipcontroller-engine.json
 
-CMD ["sh","-c","ipcontroller --ip=* --reuse"]
+CMD ["sh","-c","ipcontroller --ip=* --reuse"]

+ 1 - 1
ipython/Dockerfile.engine

@@ -4,7 +4,7 @@ LABEL maintainer="ahkui <ahkui@outlook.com>"
 
 USER root
 
-RUN apk add --no-cache build-base
+RUN apk add --no-cache build-base zeromq-dev
 
 RUN python -m pip --quiet --no-cache-dir install \
         ipyparallel \