Skip to content

Commit 5a5c547

Browse files
feat: By default use Python 3.9.0 base image (#6)
- Add new `py39` flavour - Update pip to 20.2.4 - Update poetry to 1.1.4 - Update pre-commit to 2.8.2 - Update tox to 3.20.1 - Update virtualenv to 20.1.0 Fixes: #3
1 parent d99a2c4 commit 5a5c547

3 files changed

Lines changed: 27 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 4.0.0 (2020-11-02)
2+
3+
- **BREAKING CHANGE:** By default use Python 3.9.0 for base image
4+
- Add new `py39` flavour
5+
- Update pip to 20.2.4
6+
- Update poetry to 1.1.4
7+
- Update pre-commit to 2.8.2
8+
- Update tox to 3.20.1
9+
- Update virtualenv to 20.1.0
10+
111
# 3.6.0 (2020-09-25)
212

313
- Update `py38` image to Python 3.8.6

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8.6-slim-buster
1+
FROM python:3.9.0-slim-buster
22

33
LABEL maintainer="Igor Davydenko <iam@igordavydenko.com>"
44
LABEL description="Add poetry, pre-commit, and other dev-tools to official Python slim Docker image."
@@ -10,9 +10,9 @@ RUN apt update -qq \
1010

1111
ENV PATH="/root/.local/bin:/root/.poetry/bin:${PATH}"
1212

13-
RUN pip install pip==20.2.3 pre-commit==2.7.1 tox==3.20.0 virtualenv==20.0.31
13+
RUN pip install pip==20.2.4 pre-commit==2.8.2 tox==3.20.1 virtualenv==20.1.0
1414

15-
ENV POETRY_VERSION=1.0.10
15+
ENV POETRY_VERSION=1.1.4
1616
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
1717

1818
WORKDIR /app

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ image.
99
## Usage
1010

1111
```dockerfile
12-
FROM playpauseandstop/docker-python:3.6.0
12+
FROM playpauseandstop/docker-python:4.0.0
1313
```
1414

1515
### Included dev-tools
1616

17-
- [pip](https://pip.pypa.io) 20.2.3
18-
- [poetry](https://poetry.eustace.io) 1.0.10
19-
- [pre-commit](https://pre-commit.com) 2.7.1
20-
- [tox](https://tox.readthedocs.io/) 3.20.0
21-
- [virtualenv](https://virtualenv.pypa.io) 20.0.31
17+
- [pip](https://pip.pypa.io) 20.2.4
18+
- [poetry](https://python-poetry.org) 1.1.4
19+
- [pre-commit](https://pre-commit.com) 2.8.2
20+
- [tox](https://tox.readthedocs.io/) 3.20.1
21+
- [virtualenv](https://virtualenv.pypa.io) 20.1.0
2222
- [curl](https://curl.haxx.se) 7.64.0
2323
- [git](https://git-scm.com) 2.20.1
2424
- [locales](https://packages.debian.org/stretch/locales) &
@@ -37,6 +37,11 @@ other versions supported as well.
3737

3838
List of supported Python versions are (`<PY_VERSION>` -> base Docker image):
3939

40+
#### 4.0.0
41+
42+
- `py39` -> `python:3.9.0-slim-buster`
43+
- `py36`, `py37` & `py38` use same base image as in `3.6.0`
44+
4045
#### 3.6.0
4146

4247
- `py38` -> `python:3.8.6-slim-buster`
@@ -46,7 +51,7 @@ List of supported Python versions are (`<PY_VERSION>` -> base Docker image):
4651
#### 3.5.0
4752

4853
- `py38` -> `python:3.8.5-slim-buster`
49-
- `py37` & `py36` uses same as in `3.4.0`
54+
- `py37` & `py36` use same base image as in `3.4.0`
5055

5156
#### 3.4.0
5257

@@ -58,12 +63,12 @@ List of supported Python versions are (`<PY_VERSION>` -> base Docker image):
5863

5964
- `py38` -> `python:3.8.3-slim-buster`
6065
- `py37` -> `python:3.7.7-slim-buster`
61-
- `py36` uses same version as in `3.1.0`
66+
- `py36` uses same base image as in `3.1.0`
6267

6368
#### 3.2.0
6469

6570
- `py38` -> `python:3.8.2-slim-buster`
66-
- `py37` & `py36` uses same version as in `3.1.0`
71+
- `py37` & `py36` use same base image as in `3.1.0`
6772

6873
#### 3.1.0
6974

0 commit comments

Comments
 (0)