diff options
author | French Ben <frenchben@docker.com> | 2017-09-19 10:14:55 -0700 |
---|---|---|
committer | Joffrey F <f.joffrey@gmail.com> | 2017-10-17 17:20:00 -0700 |
commit | cb2d65556b316b58debeb6e5f5ccc3010d0171d7 (patch) | |
tree | 0d723cf025cf843c3b7fd4dfd04d0f8ccda78e27 | |
parent | 53928a17c0d36c3e1a9b835febdb8e88797196b7 (diff) |
Use slim alpine instead of bulky debian
Signed-off-by: French Ben <frenchben@docker.com>
-rw-r--r-- | Dockerfile.s390x | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Dockerfile.s390x b/Dockerfile.s390x index aa71e27b..3b19bb39 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"] |