From 4b4dcf37b10d0012a5d83b4c3cd3a393254cc02a Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 22 Oct 2019 03:37:23 +0900 Subject: [PATCH] Pin python images to 3.7 rehash may have an issue with python 3.8 internals. Change-Id: I1a9c6150d74f6a646446b65a7456c73dc104fd9e --- docker/python-base/Dockerfile | 2 +- docker/python-builder/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/python-base/Dockerfile b/docker/python-base/Dockerfile index b2fb3177d7..5b1b446562 100644 --- a/docker/python-base/Dockerfile +++ b/docker/python-base/Dockerfile @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM python:slim +FROM python:3.7-slim RUN apt-get update \ && apt-get install -y dumb-init libjemalloc2 \ diff --git a/docker/python-builder/Dockerfile b/docker/python-builder/Dockerfile index e8dd278f05..a1103fb6ae 100644 --- a/docker/python-builder/Dockerfile +++ b/docker/python-builder/Dockerfile @@ -14,7 +14,7 @@ # limitations under the License. -FROM python:slim as fake-python +FROM python:3.7-slim as fake-python WORKDIR /tmp RUN apt-get update \ @@ -23,7 +23,7 @@ RUN apt-get update \ COPY python3-dev.control /tmp/python3-dev.control RUN equivs-build /tmp/python3-dev.control -FROM python:slim +FROM python:3.7-slim COPY --from=fake-python /tmp/python3-dev_4.0.0_all.deb /tmp/python3-dev_4.0.0_all.deb COPY scripts/assemble /usr/local/bin/assemble