From 0cd2f0974d42b039f685f1f90254254846301fa5 Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Sun, 1 Dec 2019 14:00:16 -0800 Subject: Update to Python 3.8 Currently, the dev image is broken due to typed-ast being present and requiring GCC and Python.h. Supposedly that package will be made optional by flake8-annotations in a later update. * Use the Python image for the base image's first stage to save downloading a separate alpine image. --- docker/base.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index 1edff49..7334cf4 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.10 as builder +FROM python:3.8.0-alpine3.10 as builder RUN apk add --no-cache --update \ bison~=3.3 \ bsd-compat-headers~=0.7 \ @@ -16,7 +16,7 @@ RUN git clone https://github.com/google/nsjail.git /nsjail \ WORKDIR /nsjail RUN make -FROM python:3.7.4-alpine3.10 +FROM python:3.8.0-alpine3.10 ENV PIP_NO_CACHE_DIR=false RUN apk add --no-cache --update \ libnl3~=3.4 \ -- cgit v1.2.3