Sign inSign up

anthropocentricai/ai-python

By anthropocentricai

•Updated almost 8 years ago

AI Python

Image
0

1.7K

anthropocentricai/ai-python repository overview

Build Status Docker Stars Docker Pulls Docker Meta

⁠Python AI Docker Image

This repository⁠ contains a Docker template and a scrip to create AI Docker containers with Python⁠, based on Alpine Linux. The containers come with sipy, numpy, matplotlib, scikit-learn and jupyterlab.

To create a new Dockerfile with updated Python packages, simply edit env.sh and execute create_dockerfiles.sh. This will tag and push the Docker files to GitHub, what will trigger automatic builds on Docker Hub. The images are available here⁠ and are built with the following settings:

Branch/TagSourceLocationName
Tag/^py-\d.\d_ap-\d.\d___np-\d+.\d+.\d+_sp-\d+.\d+.\d+_sk-\d+.\d+.\d+$//_versionedlatest
Tag/^py-\d.\d_ap-\d.\d___np-(\d+.\d+.\d+)_sp-(\d+.\d+.\d+)_sk-(\d+.\d+.\d+)$//_versionednp-{\1}_sp-{\2}_sk-{\3}
Tag/^py-(\d.\d)_ap-\d.\d___np-(\d+.\d+.\d+)_sp-(\d+.\d+.\d+)_sk-\d+.\d+.\d+$//_versionedpy-{\1}_np-{\2}_sp-{\3}
Branchmaster/_versionedversioned
Tag/^py-(\d.\d)_ap-\d.\d___np-(\d+.\d+.\d+)_sp-(\d+.\d+.\d+)_sk-\d+.\d+.\d+$//_versioned-devpy-{\1}_np-{\2}_sp-{\3}-dev
Branchmaster/_versioned-devversioned-dev
Branchmaster/_experimentalexperimental
Branchmaster/_experimental-devexperimental-dev

The image is only 95MB!

⁠Usage

$ docker run -it -p 8888:8888 anthropocentricai/ai-python

Once you have run this command, point your web browser to http://127.0.0.1:8888⁠ and paste the Jupyter Lab token displayed in the terminal.

Tag summary

Content type

Image

Digest

Size

87.8 MB

Last updated

almost 8 years ago

docker pull anthropocentricai/ai-python