aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine/3.6/Dockerfile
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-19 21:15:40 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-19 21:25:40 +0200
commitf25e737aa6a2215a40049afdb0245d16408fd489 (patch)
treecc2cd079ae9470889276f3cedc847299f7004853 /docker/app/alpine/3.6/Dockerfile
parentIgnore all unneeded files. (diff)
Remove headers after compilation.
Diffstat (limited to 'docker/app/alpine/3.6/Dockerfile')
-rw-r--r--docker/app/alpine/3.6/Dockerfile9
1 files changed, 4 insertions, 5 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile
index 0dedd6da..c460815b 100644
--- a/docker/app/alpine/3.6/Dockerfile
+++ b/docker/app/alpine/3.6/Dockerfile
@@ -3,13 +3,12 @@ FROM python:3.6-alpine
ARG EXTRAS=deploy
# Build-time dependencies: To be removed later.
-RUN apk add --no-cache --virtual build \
+RUN apk add --virtual build \
gcc \
- musl-dev \
- postgresql-dev
+ musl-dev
-# Used by the healthcheck.
-RUN apk add --no-cache curl
+# Used by the healthcheck and shared library used by psycopg2.
+RUN apk add --no-cache curl postgresql-dev
WORKDIR /app
COPY setup.py /app/setup.py