File tree 5 files changed +89
-0
lines changed 5 files changed +89
-0
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,12 @@ For docker images based ones in this repo, see [https://github.com/rlan/mldock](
36
36
37
37
| Tag | Comment | Dockerfile | Info |
38
38
| ----- | ------- | ---------- | ---- |
39
+ | ` py3.8 ` | CPU-only | [ Dockerfile] ( py3.8/Dockerfile ) | ![ ] ( https://img.shields.io/docker/image-size/wqael/docker/py3.8 ) |
39
40
| ` py36 ` | CPU-only | [ Dockerfile] ( py36/Dockerfile ) | [ ![ ] ( https://images.microbadger.com/badges/image/wqael/docker:py36.svg ) ![ ] ( https://images.microbadger.com/badges/commit/wqael/docker:py36.svg )] ( https://microbadger.com/images/wqael/docker:py36 ) |
40
41
| ` py3 ` | CPU-only | [ Dockerfile] ( py3/Dockerfile ) | [ ![ ] ( https://images.microbadger.com/badges/image/wqael/docker:py3.svg ) ![ ] ( https://images.microbadger.com/badges/commit/wqael/docker:py3.svg )] ( https://microbadger.com/images/wqael/docker:py3 ) |
41
42
| ` py2 ` | CPU-only | [ Dockerfile] ( py2/Dockerfile ) | [ ![ ] ( https://images.microbadger.com/badges/image/wqael/docker:py2.svg ) ![ ] ( https://images.microbadger.com/badges/commit/wqael/docker:py2.svg )] ( https://microbadger.com/images/wqael/docker:py2 ) |
43
+ | ` py3.8-cuda11.3.1 ` | Nvidia Driver >= 465.19.01 (Linux) 465.89 (Windows) | [ Dockerfile] ( py3.8-cuda11.3.1/Dockerfile ) | ![ ] ( https://img.shields.io/docker/image-size/wqael/docker/py3.8-cuda11.3.1 ) |
44
+ | ` py3.8-cuda10.2 ` | Nvidia Driver >= 440.33 (Linux) 441.22 (Windows) | [ Dockerfile] ( py3.8-cuda10.2/Dockerfile ) | ![ ] ( https://img.shields.io/docker/image-size/wqael/docker/py3.8-cuda10.2 ) |
42
45
| ` py3.6.9-cuda11.1.1 ` | NVIDIA driver >= 455.32 | [ Dockerfile] ( py3.6.9-cuda11.1.1/Dockerfile ) | [ ![ ] ( https://images.microbadger.com/badges/image/wqael/docker:py3.6.9-cuda11.1.1.svg ) ![ ] ( https://images.microbadger.com/badges/commit/wqael/docker:py3.6.9-cuda11.1.1.svg )] ( https://microbadger.com/images/wqael/docker:py3.6.9-cuda11.1.1 ) |
43
46
| ` py36-cuda11 ` | NVIDIA driver >= 450.36.06 | [ Dockerfile] ( py36-cuda11/Dockerfile ) | [ ![ ] ( https://images.microbadger.com/badges/image/wqael/docker:py36-cuda11.svg ) ![ ] ( https://images.microbadger.com/badges/commit/wqael/docker:py36-cuda11.svg )] ( https://microbadger.com/images/wqael/docker:py36-cuda11 ) |
44
47
| ` py36-cuda102 ` | NVIDIA driver >= 440.33 | [ Dockerfile] ( py36-cuda102/Dockerfile ) | [ ![ ] ( https://images.microbadger.com/badges/image/wqael/docker:py36-cuda102.svg ) ![ ] ( https://images.microbadger.com/badges/commit/wqael/docker:py36-cuda102.svg )] ( https://microbadger.com/images/wqael/docker:py36-cuda102 ) |
Original file line number Diff line number Diff line change
1
+ FROM nvidia/cuda:10.2-cudnn8-runtime-ubuntu18.04
2
+
3
+ LABEL description="Python 3.8.12 / nvidia/cuda:10.2-cudnn8-runtime-ubuntu18.04" \
4
+ maintainer="https://github.com/rlan/docker"
5
+
6
+
7
+ # Build-time metadata as defined at http://label-schema.org
8
+ ARG BUILD_DATE
9
+ ARG VCS_REF
10
+ ARG VERSION
11
+ LABEL org.label-schema.build-date=$BUILD_DATE \
12
+ org.label-schema.vcs-ref=$VCS_REF \
13
+ org.label-schema.vcs-url="https://github.com/rlan/docker" \
14
+ org.label-schema.version=$VERSION \
15
+ org.label-schema.schema-version="1.0"
16
+
17
+
18
+ # See http://bugs.python.org/issue19846
19
+ ENV LANG C.UTF-8
20
+
21
+
22
+ # Install python and tools
23
+ RUN apt-get update \
24
+ && apt-get install -y software-properties-common wget \
25
+ && add-apt-repository --yes ppa:deadsnakes/ppa \
26
+ && apt-get update \
27
+ && apt-get install -y python3.8 python3.8-distutils \
28
+ && apt-get -qq clean \
29
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
30
+
31
+ # download and run the pip3 bootstrap script
32
+ RUN cd /tmp \
33
+ && wget --quiet https://bootstrap.pypa.io/get-pip.py \
34
+ && python3.8 /tmp/get-pip.py \
35
+ && rm -rf /tmp/*
36
+
37
+ # Update python tools
38
+ RUN python3.8 -m pip install -q --upgrade pip setuptools wheel
39
+
40
+ # Make python 3 default
41
+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 100
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # $IMAGE_NAME var is injected into the build so the tag is correct.
3
+ docker build --build-arg VCS_REF=` git rev-parse --short HEAD` \
4
+ --build-arg BUILD_DATE=` date -u +”%Y-%m-%dT%H:%M:%SZ”` \
5
+ -t $IMAGE_NAME .
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+
3
+ LABEL description="Python 3.8 / ubuntu:20.04" \
4
+ maintainer="https://github.com/rlan/docker"
5
+
6
+
7
+ # Build-time metadata as defined at http://label-schema.org
8
+ ARG BUILD_DATE
9
+ ARG VCS_REF
10
+ ARG VERSION
11
+ LABEL org.label-schema.build-date=$BUILD_DATE \
12
+ org.label-schema.vcs-ref=$VCS_REF \
13
+ org.label-schema.vcs-url="https://github.com/rlan/docker" \
14
+ org.label-schema.version=$VERSION \
15
+ org.label-schema.schema-version="1.0"
16
+
17
+
18
+ ARG PYTHON=python3
19
+ ARG PIP=pip3
20
+
21
+ # See http://bugs.python.org/issue19846
22
+ ENV LANG C.UTF-8
23
+
24
+ # Install python and tools
25
+ RUN apt-get update && apt-get install -y \
26
+ ${PYTHON} \
27
+ ${PYTHON}-pip \
28
+ && apt-get -qq clean \
29
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
30
+
31
+ # Update python tools
32
+ RUN ${PIP} --no-cache-dir install -q --upgrade pip setuptools wheel
33
+
34
+ # Make python 3 default
35
+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 100
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # $IMAGE_NAME var is injected into the build so the tag is correct.
3
+ docker build --build-arg VCS_REF=` git rev-parse --short HEAD` \
4
+ --build-arg BUILD_DATE=` date -u +”%Y-%m-%dT%H:%M:%SZ”` \
5
+ -t $IMAGE_NAME .
You can’t perform that action at this time.
0 commit comments