Skip to content

Commit 74207ee

Browse files
feat: Update Python 3.8 to 3.8.7 (#13)
* Update Python 3.8 to Python 3.8.7 as default version - c.f. https://www.python.org/downloads/release/python-387/
1 parent fcc1cec commit 74207ee

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

.github/workflows/publish-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
password: ${{ secrets.DOCKER_PASSWORD }}
2424
repository: matthewfeickert/docker-python3-ubuntu
2525
dockerfile: Dockerfile
26-
tags: latest,3.8.3
26+
tags: latest,3.8.7
2727
- name: Build and Publish to Registry with Release Tag
2828
if: startsWith(github.ref, 'refs/tags/')
2929
uses: docker/build-push-action@v1

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /root
55

66
SHELL [ "/bin/bash", "-c" ]
77

8-
ARG PYTHON_VERSION_TAG=3.8.3
8+
ARG PYTHON_VERSION_TAG=3.8.7
99
ARG LINK_PYTHON_TO_PYTHON3=1
1010

1111
# Existing lsb_release causes issues with modern installations of Python3

Makefile

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
default: image
22

3-
all: image py_3.8.3 py_3.8.1 py_3.8.0 py_3.7.4 py_3.6.8
3+
all: image py_3.8.7 py_3.8.3 py_3.8.1 py_3.8.0 py_3.7.4 py_3.6.8
44

55
image:
66
docker build . \
7+
--pull \
78
-f Dockerfile \
89
--cache-from matthewfeickert/docker-python3-ubuntu:latest \
9-
--build-arg PYTHON_VERSION_TAG=3.8.3 \
10+
--build-arg PYTHON_VERSION_TAG=3.8.7 \
1011
--build-arg LINK_PYTHON_TO_PYTHON3=1 \
1112
-t matthewfeickert/docker-python3-ubuntu:latest \
12-
-t matthewfeickert/docker-python3-ubuntu:3.8.3 \
13+
-t matthewfeickert/docker-python3-ubuntu:3.8.7 \
14+
--compress
15+
16+
py_3.8.7:
17+
docker build . \
18+
--pull \
19+
-f Dockerfile \
20+
--cache-from matthewfeickert/docker-python3-ubuntu:latest \
21+
--build-arg PYTHON_VERSION_TAG=3.8.7 \
22+
--build-arg LINK_PYTHON_TO_PYTHON3=1 \
23+
-t matthewfeickert/docker-python3-ubuntu:latest \
24+
-t matthewfeickert/docker-python3-ubuntu:3.8.7 \
1325
--compress
1426

1527
py_3.8.3:
1628
docker build . \
29+
--pull \
1730
-f Dockerfile \
1831
--cache-from matthewfeickert/docker-python3-ubuntu:latest \
1932
--build-arg PYTHON_VERSION_TAG=3.8.3 \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python3 on Ubuntu Docker
22

3-
Dockerfile for image built off [Ubuntu 20.04](https://wiki.ubuntu.com/FocalFossa/ReleaseNotes/20.04) containing [Python 3.8](https://www.python.org/downloads/release/python-381/) ([Python 3.6](https://www.python.org/downloads/release/python-368/), [Python 3.7](https://www.python.org/downloads/release/python-374/)) built from source
3+
Dockerfile for image built off [Ubuntu 20.04](https://wiki.ubuntu.com/FocalFossa/ReleaseNotes/20.04) containing [Python 3.8](https://www.python.org/downloads/release/python-387/) ([Python 3.6](https://www.python.org/downloads/release/python-368/), [Python 3.7](https://www.python.org/downloads/release/python-374/)) built from source
44

55
[![GitHub Actions Status: CI](https://github.com/matthewfeickert/Docker-Python3-Ubuntu/workflows/CI/badge.svg?branch=master)](https://github.com/matthewfeickert/Docker-Python3-Ubuntu/actions?query=workflow%3ACI+branch%3Amaster)
66
[![Docker Automated build](https://img.shields.io/docker/automated/matthewfeickert/docker-python3-ubuntu.svg)](https://hub.docker.com/r/matthewfeickert/docker-python3-ubuntu/)

install_python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function main() {
101101
# 1: the Python version tag
102102
# 2: bool of if should symlink python and pip to python3 versions
103103

104-
PYTHON_VERSION_TAG=3.8.1
104+
PYTHON_VERSION_TAG=3.8.7
105105
LINK_PYTHON_TO_PYTHON3=0 # By default don't link so as to reserve python for Python 2
106106
if [[ $# -gt 0 ]]; then
107107
PYTHON_VERSION_TAG="${1}"

0 commit comments

Comments
 (0)