Remove minimal-kernel stack

(c) Copyright IBM Corp. 2016
This commit is contained in:
Peter Parente
2016-05-26 21:19:33 -04:00
parent f3028232e9
commit 48cf895cdc
6 changed files with 3 additions and 82 deletions

View File

@@ -5,8 +5,7 @@
OWNER:=jupyter OWNER:=jupyter
# need to list these manually because there's a dependency tree # need to list these manually because there's a dependency tree
ALL_STACKS:=minimal-kernel \ ALL_STACKS:=base-notebook \
base-notebook \
minimal-notebook \ minimal-notebook \
r-notebook \ r-notebook \
scipy-notebook \ scipy-notebook \

View File

@@ -25,7 +25,7 @@ If this is your first time using Docker or any of the Jupyter projects, do the f
Here's a diagram of the `FROM` relationships between all of the images defined in this project: Here's a diagram of the `FROM` relationships between all of the images defined in this project:
[![Image inheritance diagram](internal/inherit-diagram.png)](http://interactive.blockdiag.com/?compression=deflate&src=eJyFzDEPwiAQhuG9v4J0lt3Y1NjN3dEYc5SrOaEcARyq8b9bTDrQpev7PXfKcm80wUN8KiE4ELoEidiJVngOKQClZl40DvCy6T6wS5HeOM_73DtxtaDQtrVGReAOT4yR8HQ5d_Wtqf5CHoWCiNJxQsVsdmIkRyNYaTA4tPlPAfLFQpaW0bplF3vyU6HKko2GBHNF1-Pmv7Ap_BQ9BFO4dcsOrJVr-f0B5CZ-hg) [![Image inheritance diagram](internal/inherit-diagram.png)](http://interactive.blockdiag.com/?compression=deflate&src=eJyFzLEOwjAMRdGdr7C6d0dURXRjZ0QIOY2LTNM4SsxQEP9Ow5YuXe87tnHSj5bxAZ8dgEQmr6gsHloIEjUia7MslgZ8Ob0P4jXxm5Z5n3sHV4eGXFtZMoz-8KSUmE6Xc1fdmt1f1EcwmKj2omRExnxXhCwm9jyhK9C6ZZd6DnOhypKNRcWlku9p81_cFGFOAeNYuHXLDp2r1_L7A-hzeKU)
## Stacks, Tags, Versioning, and Progress ## Stacks, Tags, Versioning, and Progress
@@ -67,7 +67,7 @@ When `make release-all` successfully pushes the last of its images to Docker Hub
**When there's a security fix in the Debian base image, do the following in place of the last command:** **When there's a security fix in the Debian base image, do the following in place of the last command:**
Update the `debian:jessie` SHA in the most-base images (e.g., minimal-notebook, minimal-kernel). Submit it as a regular PR and go through the build process. Update the `debian:jessie` SHA in the most-base images (e.g., base-notebook). Submit it as a regular PR and go through the build process.
This will take time as the entire set of stacks will rebuild. This will take time as the entire set of stacks will rebuild.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,2 +0,0 @@
# Documentation
README.md

View File

@@ -1,54 +0,0 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Debian Jessie image released 2016 March 01.
FROM debian@sha256:a9c958be96d7d40df920e7041608f2f017af81800ca5ad23e327bc402626b58e
MAINTAINER Jupyter Project <jupyter@googlegroups.com>
USER root
# Install all OS dependencies for fully functional notebook server
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -yq --no-install-recommends \
python3-setuptools \
python3-zmq \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install Tini
RUN python3 -c 'from urllib.request import urlretrieve; \
urlretrieve("https://github.com/krallin/tini/releases/download/v0.6.0/tini", "tini")' && \
echo "d5ed732199c36a1189320e6c4859f0169e950692f451c03e7854243b95f4234b *tini" | sha256sum -c - && \
mv tini /usr/local/bin/tini && \
chmod +x /usr/local/bin/tini
# Configure environment
ENV KG_USER jovyan
ENV KG_UID 1000
# Create jovyan user with UID=1000
RUN useradd -m -s /bin/bash -N -u $KG_UID $KG_USER
# Install modern pip then kernel gateway
RUN apt-get update && \
apt-get install -yq --no-install-recommends \
build-essential \
python3-dev && \
easy_install3 pip && \
pip install jupyter_kernel_gateway==0.3.1 && \
apt-get remove --purge -y \
build-essential \
python3-dev && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Configure container startup
EXPOSE 8888
WORKDIR /tmp
ENTRYPOINT ["tini", "--"]
CMD ["jupyter", "kernelgateway", "--KernelGatewayApp.ip=0.0.0.0"]
# Run container as jovyan
USER jovyan

View File

@@ -1,22 +0,0 @@
![docker pulls](https://img.shields.io/docker/pulls/jupyter/minimal-kernel.svg) ![docker stars](https://img.shields.io/docker/stars/jupyter/minimal-kernel.svg)
# Kernel Gateway Stack
## What it Gives You
* [Jupyter Kernel Gateway](https://github.com/jupyter-incubator/kernel_gateway) that enables programmatic access to kernels
* Python 3 kernel
* No preinstalled scientific computing packages
* [tini](https://github.com/krallin/tini) as the container entrypoint
## Basic Use
The following command starts a container with the Kernel Gateway server listening for HTTP connections on port 8888.
```
docker run -d -p 8888:8888 jupyter/minimal-kernel
```
## Docker Options and More Information
* For more information on the Kernel Gateway and its configuration options see the
[Kernel Gateway Repository](https://github.com/jupyter-incubator/kernel_gateway#what-it-gives-you).