aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/alpine')
-rw-r--r--docker/app/alpine/3.6/Dockerfile9
-rw-r--r--docker/app/alpine/3.7/Dockerfile7
2 files changed, 7 insertions, 9 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
diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile
index e7c8d696..83dbdb96 100644
--- a/docker/app/alpine/3.7/Dockerfile
+++ b/docker/app/alpine/3.7/Dockerfile
@@ -5,11 +5,10 @@ ARG EXTRAS=deploy
# Build-time dependencies: To be removed later.
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