Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0002c46

Browse files
committed
Upgraded Python dependencies (for Python 3.9.7)
1 parent 1251548 commit 0002c46

File tree

11 files changed

+772
-569
lines changed

11 files changed

+772
-569
lines changed

‎.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.9.5
1+
3.9.7

‎Pipfile.lock

Lines changed: 651 additions & 516 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎README.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
Docker images to support Machine Learning (ML) in Python
22
========================================================
33

4-
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/artificialintelligence/python-jupyter)](https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter/general)
4+
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/infrahelpers/python-jupyter)](https://hub.docker.com/repository/docker/infrahelpers/python-jupyter/general)
55
[![Docker Repository on Quay](https://quay.io/repository/artificialintelligence/python-jupyter/status "Docker Repository on Quay")](https://quay.io/repository/artificialintelligence/python-jupyter)
66

77
# Overview
88
[That project](https://github.com/machine-learning-helpers/docker-python-jupyter)
99
produces
10-
[Docker images](https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter),
10+
[Docker images](https://hub.docker.com/repository/docker/infrahelpers/python-jupyter),
1111
which provide ready-to-use Artificial Intelligence (AI) / Machine Learning (ML)
1212
Python Jupyter environments on a few well known and stable Linux distributions
13-
(_e.g._, [CentOS 7](https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7),
14-
[CentOS 8](https://wiki.centos.org/Manuals/ReleaseNotes/CentOSLinux8),
15-
[Debian 9 (Stretch)](https://www.debian.org/releases/stretch/),
13+
(_e.g._, [CentOS 8](https://wiki.centos.org/Manuals/ReleaseNotes/CentOSLinux8),
14+
[CentOS 7](https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7),
15+
[Debian 11 (Bullseye)](https://www.debian.org/releases/bullseye/),
1616
[Debian 10 (Buster)](https://www.debian.org/releases/buster/),
17+
[Ubuntu 20.04 LTS (Focal Fossa)](https://releases.ubuntu.com/20.04/),
1718
[Ubuntu 18.04 LTS (Bionic Beaver)](https://releases.ubuntu.com/18.04/) and
18-
[Ubuntu 20.04 LTS (Focal Fossa)](https://releases.ubuntu.com/20.04/)).
19+
[Ubuntu 16.04 LTS (Xenial Xerus)](https://releases.ubuntu.com/16.04/)).
1920

2021
The Docker images just add some Jupyter notebook and data set samples
2122
on top of other
22-
[general purpose C++/Python Docker images](https://hub.docker.com/repository/docker/cpppythondevelopment/base),
23+
[general purpose C++/Python Docker images](https://hub.docker.com/repository/docker/infrahelpers/cpppython/general),
2324
produced by a
2425
[dedicated project on GitHub](https://github.com/cpp-projects-showcase/docker-images)
2526
and available on
26-
[Docker Hub](https://hub.docker.com/repository/docker/cpppythondevelopment/base)
27+
[Docker Hub](https://hub.docker.com/repository/docker/infrahelpers/cpppython/general)
2728
too.
2829

2930
The Python virtual environments are installed thanks to Pyenv and `pipenv`,
@@ -59,16 +60,19 @@ clusters or services (_e.g._,
5960
[IBM/RedHat OpenShift v4](https://www.redhat.com/en/openshift-4) or
6061
[Google GKE](https://cloud.google.com/kubernetes-engine)).
6162
Those images are available on their own
62-
[Docker Hub repository](https://hub.docker.com/repository/docker/artificialintelligence/python-light/).
63+
[Docker Hub repository](https://hub.docker.com/repository/docker/infrahelpers/python-light/).
6364

6465
## See also
65-
* Python Data Science Docker images for every day use:
66+
* Python Data Science images for every day use:
6667
+ On GitHub: https://github.com/cpp-projects-showcase/docker-images
67-
+ On Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter
68-
* Production-ready Python Data Science Docker images:
68+
+ On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
69+
* Production-ready Python Data Science images:
6970
+ On GitHub: https://github.com/machine-learning-helpers/docker-python-light
70-
+ On Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-light
71-
* General purpose C++/Python Docker images:
71+
+ On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-light
72+
* Production-ready Python cloud images:
73+
+ On GitHub: https://github.com/cloud-helpers/cloud-python-images
74+
+ On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cloud-python
75+
* General purpose C++/Python images:
7276
+ On GitHub: https://github.com/cpp-projects-showcase/docker-images
7377
+ On Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
7478
* Native Docker Python images:
@@ -81,24 +85,24 @@ Those images are available on their own
8185

8286
# Simple use
8387
* Download the Docker image for your preferred Linux distribution (where
84-
`<linux-distrib>` is one of `centos7`, `centos8`, `debian9`, `debian10`,
85-
`ubuntu1804` or `ubuntu2004`):
88+
`<linux-distrib>` is one of `centos8`, `centos7`, `debian11`, `debian10`,
89+
`ubuntu2004`, `ubuntu1804` or `ubuntu1604`):
8690
```bash
87-
$ docker pull artificialintelligence/python-jupyter:<linux-distrib>
91+
$ docker pull infrahelpers/python-jupyter:<linux-distrib>
8892
```
8993

9094
## With the Jupyter notebook and data set samples provided by the Docker images
9195
* Launch Jupyter Lab within the Docker image (where `<port>` corresponds
9296
to the local port on which Jupyter Lab is launched; the default is 8888):
9397
```bash
94-
$ docker run -d -p <port>:8888 artificialintelligence/python-jupyter:<linux-distrib>
98+
$ docker run -d -p <port>:8888 infrahelpers/python-jupyter:<linux-distrib>
9599
```
96100

97101
## With your own Jupyter notebooks and data sets
98102
* Launch Jupyter Lab within the Docker image (where `<port>` corresponds
99103
to the local port on which Jupyter Lab is launched; the default is 8888):
100104
```bash
101-
$ docker run -d -p <port>:8888 -v ${PWD}/notebook/induction:/notebook -v ${PWD}/data/induction:/data artificialintelligence/python-jupyter:<linux-distrib>
105+
$ docker run -d -p <port>:8888 -v ${PWD}/notebook/induction:/notebook -v ${PWD}/data/induction:/data infrahelpers/python-jupyter:<linux-distrib>
102106
```
103107

104108
## Interact with Jupyter Lab in a Web browser
@@ -118,10 +122,10 @@ $ cd docker-python-jupyter
118122
* Build the Docker image (the `--squash` option is only available on
119123
[Docker Edge](http://docs.docker.com/edge/), as of end of 2018):
120124
```bash
121-
$ docker build -t artificialintelligence/python-jupyter:<linux-distrib> --squash <linux-distrib>/
125+
$ docker build -t infrahelpers/python-jupyter:<linux-distrib> --squash <linux-distrib>/
122126
$ docker images
123127
REPOSITORY TAG IMAGE ID CREATED SIZE
124-
artificialintelligence/python-jupyter linux-distrib 33a1ad533140 About a minute ago 2.29GB
128+
infrahelpers/python-jupyter linux-distrib 33a1ad533140 About a minute ago 2.29GB
125129
```
126130

127131
* (Optional) Push the newly built image to Docker Cloud.
@@ -130,7 +134,7 @@ artificialintelligence/python-jupyter linux-distrib 33a1ad533140 About a minute
130134
[a change on GitHub](https://github.com/machine-learning-helpers/docker-python-jupyter/commits/master))
131135
```bash
132136
$ docker login
133-
$ docker push artificialintelligence/python-jupyter-manual:<linux-distrib>
137+
$ docker push infrahelpers/python-jupyter-manual:<linux-distrib>
134138
```
135139

136140
* Shutdown the Docker image

‎centos7/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
#
66
# References:
77
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/centos7
8-
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter
8+
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
99
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/centos7
10-
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
10+
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
1111
#
12+
FROM infrahelpers/cpppython:centos7
13+
14+
LABEL authors="Denis Arnaud <denis.arnaud_github at m4x dot org>"
1215

13-
FROM cpppythondevelopment/base:centos7
14-
MAINTAINER Denis Arnaud <denis.arnaud_github at m4x dot org>
1516
LABEL version="0.1"
1617

1718
# Configuration

‎centos8/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
#
66
# References:
77
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/centos8
8-
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter
8+
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
99
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/centos8
10-
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
10+
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
1111
#
12+
FROM infrahelpers/cpppython:centos8
13+
14+
LABEL authors="Denis Arnaud <denis.arnaud_github at m4x dot org>"
1215

13-
FROM cpppythondevelopment/base:centos8
14-
MAINTAINER Denis Arnaud <denis.arnaud_github at m4x dot org>
1516
LABEL version="0.1"
1617

1718
# Configuration

‎debian10/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
#
66
# References:
77
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/debian10
8-
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter
8+
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
99
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/debian10
10-
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
10+
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
1111
#
12+
FROM infrahelpers/cpppython:debian10
13+
14+
LABEL authors="Denis Arnaud <denis.arnaud_github at m4x dot org>"
1215

13-
FROM cpppythondevelopment/base:debian10
14-
MAINTAINER Denis Arnaud <denis.arnaud_github at m4x dot org>
1516
LABEL version="0.1"
1617

1718
# Configuration

‎debian9/Dockerfile renamed to ‎debian11/Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#
2-
# Python Jupyter notebooks for Artificial Intelligence (AI) / Machine Learning (ML) on Debian 9
2+
# Python Jupyter notebooks for Artificial Intelligence (AI) / Machine Learning (ML) on Debian 11
33
#
4-
# Source: https://github.com/machine-learning-helpers/docker-python-jupyter/blob/master/debian9/Dockerfile
4+
# Source: https://github.com/machine-learning-helpers/docker-python-jupyter/blob/master/debian11/Dockerfile
55
#
66
# References:
7-
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/debian9
8-
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter
9-
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/debian9
10-
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
7+
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/debian11
8+
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
9+
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/debian11
10+
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
1111
#
12+
FROM infrahelpers/cpppython:debian11
13+
14+
LABEL authors="Denis Arnaud <denis.arnaud_github at m4x dot org>"
1215

13-
FROM cpppythondevelopment/base:debian9
14-
MAINTAINER Denis Arnaud <denis.arnaud_github at m4x dot org>
1516
LABEL version="0.1"
1617

1718
# Configuration

‎ubuntu1604/Dockerfile

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
#
2+
# Python Jupyter notebooks for Artificial Intelligence (AI) / Machine Learning (ML) on Ubuntu 16.04 LTS (Xenial Xerus)
3+
#
4+
# Source: https://github.com/machine-learning-helpers/docker-python-jupyter/blob/master/ubuntu1604/Dockerfile
5+
#
6+
# References:
7+
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/ubuntu1804
8+
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
9+
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/ubuntu1804
10+
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
11+
#
12+
FROM infrahelpers/cpppython:ubuntu1604
13+
14+
LABEL authors="Denis Arnaud <denis.arnaud_github at m4x dot org>"
15+
16+
LABEL version="0.1"
17+
18+
# Configuration
19+
ENV container docker
20+
ENV HOME /home/build
21+
ENV LANGUAGE en_US:en
22+
ENV LANG en_US.UTF-8
23+
ENV LC_ALL $LANG
24+
25+
# Create the top directories to host the notebook and data samples
26+
USER root
27+
RUN mkdir -p /notebook /data && chown build.build /notebook /data
28+
29+
# Switch to the `build` user
30+
USER build
31+
32+
# Python
33+
ENV PATH $HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH
34+
35+
# Download some sample notebooks and data sets
36+
WORKDIR /notebook
37+
RUN git clone https://github.com/machine-learning-helpers/induction-python.git .
38+
WORKDIR /data
39+
RUN git clone https://github.com/machine-learning-helpers/data-samples.git .
40+
41+
# The base directory is where the Jupyter notebook samples have been dowloaded.
42+
# However, that directory may be overshadowed by the one the user running that
43+
# Docker image may wish to mount instead.
44+
# There is content (which can be overshadowed) in that directory just in case
45+
# the user does not want to mount her/his own Jupyter notebooks.
46+
# Same comment for the content of the /data directory.
47+
VOLUME /notebook
48+
WORKDIR /notebook
49+
50+
# Install the Python dependencies, including Jupyter
51+
RUN pipenv install
52+
53+
# Tell Docker that about the Jupyter port
54+
EXPOSE 8888
55+
56+
# Launch Jupyter
57+
CMD pipenv run jupyter lab --allow-root --no-browser --ip 0.0.0.0 --NotebookApp.token=
58+

‎ubuntu1804/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#
22
# Python Jupyter notebooks for Artificial Intelligence (AI) / Machine Learning (ML) on Ubuntu 18.04 LTS (Bionic Beaver)
33
#
4-
# Source: https://github.com/machine-learning-helpers/docker-python-jupyter/blob/master/ubuntu2004/Dockerfile
4+
# Source: https://github.com/machine-learning-helpers/docker-python-jupyter/blob/master/ubuntu1804/Dockerfile
55
#
66
# References:
77
# * ML specific Dockerfile: https://github.com/machine-learning-helpers/docker-python-jupyter/tree/master/ubuntu1804
8-
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/artificialintelligence/python-jupyter
8+
# * ML specific images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/python-jupyter
99
# * C++/Python generic Dockerfile: https://github.com/cpp-projects-showcase/docker-images/tree/master/ubuntu1804
10-
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
10+
# * C++/Python generic images on Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
1111
#
12+
FROM infrahelpers/cpppython:ubuntu1804
13+
14+
LABEL authors="Denis Arnaud <denis.arnaud_github at m4x dot org>"
1215

13-
FROM cpppythondevelopment/base:ubuntu1804
14-
MAINTAINER Denis Arnaud <denis.arnaud_github at m4x dot org>
1516
LABEL version="0.1"
1617

1718
# Configuration

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /