From b2a03265e48748aef26565df73a682d2c2b851ef Mon Sep 17 00:00:00 2001 From: French Ben Date: Tue, 19 Sep 2017 10:14:55 -0700 Subject: [PATCH] Use slim alpine instead of bulky debian Signed-off-by: French Ben --- Dockerfile.s390x | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile.s390x b/Dockerfile.s390x index aa71e27bc..3b19bb390 100644 --- a/Dockerfile.s390x +++ b/Dockerfile.s390x @@ -1,6 +1,15 @@ -FROM s390x/python:3.6.2-slim +FROM s390x/alpine:3.6 + ARG COMPOSE_VERSION=1.16.1 -RUN pip install --no-cache-dir docker-compose==$COMPOSE_VERSION +RUN apk add --update --no-cache \ + python \ + py-pip \ + && pip install --no-cache-dir docker-compose==$COMPOSE_VERSION \ + && rm -rf /var/cache/apk/* + +WORKDIR /data +VOLUME /data + ENTRYPOINT ["docker-compose"]