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