diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/ci.Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/ci.Dockerfile b/docker/ci.Dockerfile new file mode 100644 index 0000000..de19b53 --- /dev/null +++ b/docker/ci.Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.6-alpine3.7 + +RUN apk add --no-cache libstdc++ protobuf +RUN apk add --update build-base + +ENV PIPENV_VENV_IN_PROJECT=1 +ENV PIPENV_IGNORE_VIRTUALENVS=1 +ENV PIPENV_NOSPIN=1 +ENV PIPENV_HIDE_EMOJIS=1 +ENV PYTHONPATH=/snekbox + +RUN pip install pipenv + +COPY binaries/nsjail2.5-alpine-x86_64 /usr/sbin/nsjail +RUN chmod +x /usr/sbin/nsjail |