From 67a40c5e507ca8d22fdc21151d584f6f7171782c Mon Sep 17 00:00:00 2001 From: Peter Parente Date: Mon, 25 Jan 2016 16:25:34 -0500 Subject: [PATCH] Bump kernel gateway to 0.3.1 Also change CMD vs ENTRYPOINT to match what minimal-notebook and some major official Docker images do (redis, mysql, nginx, ...) by having the jupyter kernelgateway in the CMD, and just tini -- in the entrypoint (c) Copyright IBM Corp. 2016 --- minimal-kernel/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minimal-kernel/Dockerfile b/minimal-kernel/Dockerfile index bd0de2cd..7d8128b1 100644 --- a/minimal-kernel/Dockerfile +++ b/minimal-kernel/Dockerfile @@ -33,7 +33,7 @@ RUN apt-get update && \ build-essential \ python3-dev && \ easy_install3 pip && \ - pip install jupyter_kernel_gateway==0.2.0 && \ + pip install jupyter_kernel_gateway==0.3.1 && \ apt-get remove --purge -y \ build-essential \ python3-dev && \ @@ -43,8 +43,8 @@ RUN apt-get update && \ # Configure container startup EXPOSE 8888 WORKDIR /tmp -ENTRYPOINT ["tini", "--", "jupyter", "kernelgateway"] -CMD ["--KernelGatewayApp.ip=0.0.0.0"] +ENTRYPOINT ["tini", "--"] +CMD ["jupyter", "kernelgateway", "--KernelGatewayApp.ip=0.0.0.0"] # Run container as jovyan USER jovyan