Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize size and time using "--no-cache-dir" #70

Merged
merged 1 commit into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion all-spark-kernels/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM jupyter/all-spark-notebook:97a5071c5775
MAINTAINER Jupyter Project <jupyter@googlegroups.com>

# Install Kernel Gateway
RUN pip install 'jupyter_kernel_gateway>=1.0,<2.0'
RUN pip install --no-cache-dir jupyter_kernel_gateway

# Configure container startup, letting the user pass command line args through
# easily without disrupting the use of tini or the kernelgateway entry point
Expand Down
2 changes: 1 addition & 1 deletion microservice_demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM jupyter/datascience-notebook
MAINTAINER Jupyter Project <jupyter@googlegroups.com>

# Install Kernel Gateway
RUN pip install jupyter-kernel-gateway
RUN pip install --no-cache-dir jupyter-kernel-gateway

# Configure container startup
ENTRYPOINT ["tini", "--", "jupyter", "kernelgateway", "--KernelGatewayApp.api=notebook-http", "--KernelGatewayApp.ip=0.0.0.0", "--KernelGatewayApp.seed_uri=/srv/notebooks/meetup_service.ipynb"]
Expand Down
2 changes: 1 addition & 1 deletion node_client_example/Dockerfile.kg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM jupyter/all-spark-notebook:0017b56d93c9

# install the kernel gateway
RUN pip install jupyter_kernel_gateway==0.5.*
RUN pip install --no-cache-dir jupyter_kernel_gateway

# run kernel gateway on container start, not notebook server
EXPOSE 8888
Expand Down
2 changes: 1 addition & 1 deletion python_client_example/Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
FROM python:latest

WORKDIR /src
RUN pip install tornado
RUN pip install --no-cache-dir tornado
COPY src/* /src/
ENTRYPOINT ["python", "/src/client.py"]
2 changes: 1 addition & 1 deletion python_client_example/Dockerfile.kg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM jupyter/all-spark-notebook:0017b56d93c9

# install the kernel gateway
RUN pip install 'jupyter_kernel_gateway==0.5'
RUN pip install --no-cache-dir jupyter_kernel_gateway

# run kernel gateway on container start, not notebook server
EXPOSE 8888
Expand Down
2 changes: 1 addition & 1 deletion scotch_demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM jupyter/datascience-notebook:8015c88c4b11
RUN julia -e 'Pkg.add("JSON")' && julia -e 'Pkg.add("Requests")'

# Install latest stable Kernel Gateway
RUN pip install jupyter_kernel_gateway
RUN pip install --no-cache-dir jupyter_kernel_gateway
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM jupyter/all-spark-notebook:dbb9c7b50531

# Install Kernel Gateway
RUN pip install git+https://github.com/jupyter-incubator/kernel_gateway.git
RUN pip install --no-cache-dir jupyter_kernel_gateway

# Configure container startup
ENTRYPOINT ["tini", "--", "jupyter", "kernelgateway"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM jupyter/all-spark-notebook:dbb9c7b50531

# Install Kernel Gateway
RUN pip install git+https://github.com/jupyter-incubator/kernel_gateway.git
RUN pip install --no-cache-dir jupyter_kernel_gateway

# Configure container startup
ENTRYPOINT ["tini", "--", "jupyter", "kernelgateway"]
Expand Down