aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-01 14:00:16 -0800
committerGravatar MarkKoz <[email protected]>2019-12-01 14:00:16 -0800
commit0cd2f0974d42b039f685f1f90254254846301fa5 (patch)
tree6996a9a4f296b4385f793738d325526df8351d58 /docker
parentFix if statement for syncing dev dependencies in venv image (diff)
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.
Diffstat (limited to 'docker')
-rw-r--r--docker/base.Dockerfile4
1 files changed, 2 insertions, 2 deletions
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 \