File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,13 @@ WORKDIR /root
77
88SHELL [ "/bin/bash" , "-c" ]
99
10- ARG PYTHON_VERSION_TAG=3.8.1
10+ ARG PYTHON_VERSION_TAG=3.8.3
1111ARG LINK_PYTHON_TO_PYTHON3=1
1212
1313# Existing lsb_release causes issues with modern installations of Python3
1414# https://github.com/pypa/pip/issues/4924#issuecomment-435825490
1515# Set (temporarily) DEBIAN_FRONTEND to avoid interacting with tzdata
1616RUN apt-get -qq -y update && \
17- apt-get -qq -y upgrade && \
1817 DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \
1918 gcc \
2019 g++ \
Original file line number Diff line number Diff line change 11default : image
22
3- all : image py_3.8.0 py_3.7.4 py_3.6.8
3+ all : image py_3.8.3 py_3.8.1 py_3.8. 0 py_3.7.4 py_3.6.8
44
55image :
6+ docker build . \
7+ -f Dockerfile \
8+ --cache-from matthewfeickert/docker-python3-ubuntu:latest \
9+ --build-arg PYTHON_VERSION_TAG=3.8.3 \
10+ --build-arg LINK_PYTHON_TO_PYTHON3=1 \
11+ -t matthewfeickert/docker-python3-ubuntu:latest \
12+ -t matthewfeickert/docker-python3-ubuntu:3.8.3 \
13+ --compress
14+
15+ py_3.8.3 :
16+ docker build . \
17+ -f Dockerfile \
18+ --cache-from matthewfeickert/docker-python3-ubuntu:latest \
19+ --build-arg PYTHON_VERSION_TAG=3.8.3 \
20+ --build-arg LINK_PYTHON_TO_PYTHON3=1 \
21+ -t matthewfeickert/docker-python3-ubuntu:latest \
22+ -t matthewfeickert/docker-python3-ubuntu:3.8.3 \
23+ --compress
24+
25+ py_3.8.1 :
626 docker build -f Dockerfile \
727 --cache-from matthewfeickert/docker-python3-ubuntu:latest \
828 --build-arg PYTHON_VERSION_TAG=3.8.1 \
Original file line number Diff line number Diff line change @@ -32,18 +32,22 @@ function build_cpython () {
3232 # https://github.com/python/cpython/blob/3.8/README.rst
3333 # https://github.com/python/cpython/blob/3.7/README.rst
3434 # https://github.com/python/cpython/blob/3.6/README.rst
35+ printf " \n### ./configure --help\n"
36+ ./configure --help
3537 printf " \n### ./configure\n"
3638 if [[ " ${2} " > " 3.7.0" ]]; then
3739 # --with-threads is removed in Python 3.7 (threading already on)
3840 ./configure --prefix=" ${1} " \
3941 --exec_prefix=" ${1} " \
42+ --with-ensurepip \
4043 --enable-optimizations \
4144 --with-lto \
4245 --enable-loadable-sqlite-extensions \
4346 --enable-ipv6
4447 else
4548 ./configure --prefix=" ${1} " \
4649 --exec_prefix=" ${1} " \
50+ --with-ensurepip \
4751 --enable-optimizations \
4852 --with-lto \
4953 --enable-loadable-sqlite-extensions \
You can’t perform that action at this time.
0 commit comments