Permalink
Browse files

Use slim alpine instead of bulky debian

Signed-off-by: French Ben <frenchben@docker.com>
  • Loading branch information...
French Ben authored and shin- committed Sep 19, 2017
1 parent 6222d1c commit b2a03265e48748aef26565df73a682d2c2b851ef
Showing with 11 additions and 2 deletions.
  1. +11 −2 Dockerfile.s390x
View
@@ -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"]

0 comments on commit b2a0326

Please sign in to comment.