Skip to content

Commit d4424bc

Browse files
feat: Update to Ubuntu 20.04 base image (matthewfeickert#9)
* Update to ubuntu:20.04 as the base image - c.f. https://wiki.ubuntu.com/FocalFossa/ReleaseNotes/20.04
1 parent 3bb4be9 commit d4424bc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
FROM ubuntu:bionic
2-
3-
MAINTAINER Matthew Feickert <[email protected]>
1+
FROM ubuntu:20.04
42

53
USER root
64
WORKDIR /root
@@ -42,7 +40,7 @@ RUN apt-get -qq -y update && \
4240
mv /usr/bin/lsb_release /usr/bin/lsb_release.bak && \
4341
apt-get -y autoclean && \
4442
apt-get -y autoremove && \
45-
rm -rf /var/lib/apt-get/lists/*
43+
rm -rf /var/lib/apt/lists/*
4644

4745
COPY install_python.sh install_python.sh
4846
RUN bash install_python.sh ${PYTHON_VERSION_TAG} ${LINK_PYTHON_TO_PYTHON3} && \

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 18.04](https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes/18.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-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
44

55
[![Docker Automated build](https://img.shields.io/docker/automated/matthewfeickert/docker-python3-ubuntu.svg)](https://hub.docker.com/r/matthewfeickert/docker-python3-ubuntu/)
66
[![Docker Build Status](https://img.shields.io/docker/build/matthewfeickert/docker-python3-ubuntu.svg)](https://hub.docker.com/r/matthewfeickert/docker-python3-ubuntu/builds/)

0 commit comments

Comments
 (0)