mirror of https://github.com/docker/compose.git
Use slim alpine instead of bulky debian
Signed-off-by: French Ben <frenchben@docker.com>
This commit is contained in:
parent
6222d1cc8b
commit
b2a03265e4
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue