From f29e4a14d0ce423defbf2660328597e2505e0a33 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Mon, 15 Jul 2019 18:25:44 -0400 Subject: [PATCH] Pin python base image to debian stretch --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6ac8298c..f90f2a24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG PYTHON_VERSION="3.6" -FROM python:${PYTHON_VERSION} AS builder +FROM python:${PYTHON_VERSION}-stretch AS builder ARG NODE_VERSION="8.x" RUN curl -sL "https://deb.nodesource.com/setup_${NODE_VERSION}" | bash - \ @@ -27,7 +27,7 @@ RUN cd /doccano/app/server/static \ RUN cd /doccano \ && python app/manage.py collectstatic --noinput -FROM python:${PYTHON_VERSION}-slim AS runtime +FROM python:${PYTHON_VERSION}-slim-stretch AS runtime RUN useradd -ms /bin/sh doccano