From 9f85f7144a02dad22ae0981550b6c01b8c22e0b1 Mon Sep 17 00:00:00 2001 From: Adar Nimrod Date: Sun, 10 Jun 2018 07:16:09 +0300 Subject: [PATCH] Python 2.7 image with latest pip, pipenv and tox, headers and compilers. --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..848bd18 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:2.7-slim-stretch +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ + git \ + libffi-dev \ + libpq-dev \ + libssl-dev \ + zlib1g-dev \ + && \ + pip install --no-cache-dir --update pip tox pipenv | cat && \ + rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* /root/.cache/* -- GitLab