diff options
author | 2018-09-19 22:14:24 +0200 | |
---|---|---|
committer | 2018-09-19 22:49:15 +0200 | |
commit | dec23d058eb9fdfeee33e9a4a61e3e65ccb0b490 (patch) | |
tree | b67612bd0eccfc301c376443fd65d468385cb7fe /docker/app/stretch/3.6 | |
parent | Merge branch 'django+mdlint' into django (diff) |
Add dockerfile lints.
Diffstat (limited to 'docker/app/stretch/3.6')
-rw-r--r-- | docker/app/stretch/3.6/Dockerfile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile index a52317da..0e840899 100644 --- a/docker/app/stretch/3.6/Dockerfile +++ b/docker/app/stretch/3.6/Dockerfile @@ -2,11 +2,16 @@ FROM python:3.6-stretch ARG EXTRAS=deploy -RUN apt-get update -y -RUN apt-get install -y \ +RUN apt-get update -y \ + && \ + apt-get install --no-install-recommends -y \ gcc \ libc-dev \ - libpq-dev + libpq-dev \ + && \ + apt-get clean \ + && \ + rm -rf /var/lib/apt/lists/* WORKDIR /app COPY setup.py /app/setup.py |