|
1 | 1 | # Docker image for `mypy` |
2 | 2 |
|
3 | 3 | [](https://github.com/cytopia/docker-mypy/releases) |
4 | | -[](https://microbadger.com/images/cytopia/mypy:latest "mypy") |
5 | | -[](https://microbadger.com/images/cytopia/mypy:latest "mypy") |
6 | | -[](https://hub.docker.com/r/cytopia/mypy) |
7 | 4 | [](https://github.com/cytopia/docker-mypy "github.com/cytopia/docker-mypy") |
8 | 5 | [](https://opensource.org/licenses/MIT) |
9 | 6 |
|
10 | 7 | [](https://github.com/cytopia/docker-mypy/actions?query=workflow%3Alint) |
11 | 8 | [](https://github.com/cytopia/docker-mypy/actions?query=workflow%3Abuild) |
12 | 9 | [](https://github.com/cytopia/docker-mypy/actions?query=workflow%3Anightly) |
13 | 10 |
|
| 11 | + |
14 | 12 | > #### All [#awesome-ci](https://github.com/topics/awesome-ci) Docker images |
15 | 13 | > |
16 | 14 | > [ansible-lint][alint-git-lnk] **•** |
|
41 | 39 | > [yamlfmt][yfmt-git-lnk] **•** |
42 | 40 | > [yamllint][ylint-git-lnk] |
43 | 41 |
|
44 | | -> #### All [#awesome-ci](https://github.com/topics/awesome-ci) Makefiles |
45 | | -> |
46 | | -> Visit **[cytopia/makefiles](https://github.com/cytopia/makefiles)** for seamless project integration, minimum required best-practice code linting and CI. |
| 42 | +View **[Dockerfiles](https://github.com/cytopia/docker-mypy/blob/master/Dockerfiles/)** on GitHub. |
47 | 43 |
|
48 | | -View **[Dockerfile](https://github.com/cytopia/docker-mypy/blob/master/Dockerfile)** on GitHub. |
49 | 44 |
|
50 | | -[](https://hub.docker.com/r/cytopia/mypy) |
| 45 | +**Available Architectures:** `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
51 | 46 |
|
52 | 47 | Tiny Alpine-based multistage-build dockerized version of [mypy](https://github.com/python/mypy)<sup>[1]</sup>. |
53 | 48 | The image is built nightly against multiple stable versions and pushed to Dockerhub. |
54 | 49 |
|
55 | 50 | <sup>[1] Official project: https://github.com/python/mypy</sup> |
56 | 51 |
|
| 52 | +## :whale: Available Docker image versions |
57 | 53 |
|
58 | | -## Available Docker image versions |
| 54 | +[](https://hub.docker.com/r/cytopia/mypy) |
| 55 | +[](https://hub.docker.com/r/cytopia/mypy) |
59 | 56 |
|
60 | 57 | #### Rolling releaess |
61 | 58 |
|
62 | 59 | The following Docker image tags are rolling releases and are built and updated every night. |
63 | 60 |
|
64 | 61 | [](https://github.com/cytopia/docker-mypy/actions?query=workflow%3Anightly) |
65 | 62 |
|
66 | | -| Docker tag | Build from | |
67 | | -|------------|------------| |
68 | | -| `latest` | Latest stable mypy version | |
| 63 | + |
| 64 | +| Docker Tag | Git Ref | mypy | Python | Available Architectures | |
| 65 | +|-----------------------|--------------|--------------|-------------|----------------------------------------------| |
| 66 | +| **`latest`** | master | latest | latest | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 67 | +| `latest-py3.10` | master | latest | **`3.10`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 68 | +| `latest-py3.9` | master | latest | **`3.9`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 69 | +| `latest-py3.8` | master | latest | **`3.8`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 70 | +| `latest-py3.7` | master | latest | **`3.7`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 71 | +| `latest-py3.6` | master | latest | **`3.6`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 72 | +| | | | | | |
| 73 | +| **`0`** | master | **`0.x.x`** | latest | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 74 | +| `0-py3.10` | master | **`0.x.x`** | **`3.10`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 75 | +| `0-py3.9` | master | **`0.x.x`** | **`3.9`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 76 | +| `0-py3.8` | master | **`0.x.x`** | **`3.8`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 77 | +| `0-py3.7` | master | **`0.x.x`** | **`3.7`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 78 | +| `0-py3.6` | master | **`0.x.x`** | **`3.6`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 79 | + |
69 | 80 |
|
70 | 81 | #### Point in time releases |
71 | 82 |
|
72 | 83 | The following Docker image tags are built once and can be used for reproducible builds. Its version never changes so you will have to update tags in your pipelines from time to time in order to stay up-to-date. |
73 | 84 |
|
74 | 85 | [](https://github.com/cytopia/docker-mypy/actions?query=workflow%3Abuild) |
75 | 86 |
|
76 | | -| Docker tag | Explanation | |
77 | | -|-----------------|-------------| |
78 | | -| `latest-<TAG>` | Latest stable version when this repository was git tagged | |
| 87 | +| Docker Tag | Git Ref | mypy | Python | Available Architectures | |
| 88 | +|-----------------------|--------------|--------------|-------------|----------------------------------------------| |
| 89 | +| **`latest-<tag>`** | git: `<tag>` | latest | latest | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 90 | +| `latest-py3.10-<tag>` | git: `<tag>` | latest | **`3.10`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 91 | +| `latest-py3.9-<tag>` | git: `<tag>` | latest | **`3.9`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 92 | +| `latest-py3.8-<tag>` | git: `<tag>` | latest | **`3.8`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 93 | +| `latest-py3.7-<tag>` | git: `<tag>` | latest | **`3.7`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 94 | +| `latest-py3.6-<tag>` | git: `<tag>` | latest | **`3.6`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 95 | +| | | | | | |
| 96 | +| **`0-<tag>`** | git: `<tag>` | **`1.x.x`** | latest | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 97 | +| `0-py3.10-<tag>` | git: `<tag>` | **`1.x.x`** | **`3.10`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 98 | +| `0-py3.9-<tag>` | git: `<tag>` | **`1.x.x`** | **`3.9`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 99 | +| `0-py3.8-<tag>` | git: `<tag>` | **`1.x.x`** | **`3.8`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
| 100 | +| `0-py3.6-<tag>` | git: `<tag>` | **`1.x.x`** | **`3.6`** | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` | |
79 | 101 |
|
| 102 | +> Where `<tag>` refers to the chosen git tag from this repository. |
80 | 103 |
|
81 | | -## Docker mounts |
82 | 104 |
|
83 | | -The working directory inside the Docker container is **`/data/`** and should be mounted locally to |
84 | | -the root of your project. |
| 105 | +## :open_file_folder: Docker mounts |
85 | 106 |
|
| 107 | +The working directory inside the Docker container is **`/data/`** and should be mounted locally. |
86 | 108 |
|
87 | | -## Usage |
| 109 | + |
| 110 | +## :computer: Usage |
88 | 111 |
|
89 | 112 | ```bash |
90 | 113 | # Linux, Mac, Windows (Powershell) |
@@ -249,7 +272,8 @@ Visit **[cytopia/makefiles](https://github.com/cytopia/makefiles)** for dependen |
249 | 272 | The provided Makefiles will only require GNU Make and Docker itself removing the need to install anything else. |
250 | 273 |
|
251 | 274 |
|
252 | | -## License |
| 275 | +## :page_facing_up: License |
| 276 | + |
253 | 277 |
|
254 | 278 | **[MIT License](LICENSE)** |
255 | 279 |
|
|
0 commit comments