Use slim alpine instead of bulky debian

Signed-off-by: French Ben <frenchben@docker.com>
This commit is contained in:
French Ben 2017-09-19 10:14:55 -07:00 committed by Joffrey F
parent 6222d1cc8b
commit b2a03265e4
1 changed files with 11 additions and 2 deletions

View File

@ -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"]