2018-04-29 05:22:04 +02:00
|
|
|
ARG DOCKER_VERSION=17.03
|
|
|
|
FROM docker:${DOCKER_VERSION}
|
2017-03-05 21:45:06 +01:00
|
|
|
|
2018-04-29 05:17:40 +02:00
|
|
|
ARG COMPOSE_VERSION=1.11.*
|
2018-04-29 06:14:03 +02:00
|
|
|
ARG DOCKER_VERSION
|
2018-04-29 05:17:40 +02:00
|
|
|
|
2017-03-05 21:45:06 +01:00
|
|
|
RUN apk add --no-cache py-pip
|
2018-04-18 16:44:10 +02:00
|
|
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
2018-04-29 06:06:00 +02:00
|
|
|
|
|
|
|
LABEL \
|
|
|
|
org.opencontainers.image.authors="Tobias Maier <tobias.maier@baucloud.com>" \
|
|
|
|
org.opencontainers.image.description="This docker image installs docker-compose on top of the docker image." \
|
|
|
|
org.opencontainers.image.licenses="MIT" \
|
|
|
|
org.opencontainers.image.source="https://github.com/tmaier/docker-compose" \
|
|
|
|
org.opencontainers.image.title="Docker Compose on docker base image" \
|
2018-04-29 06:14:03 +02:00
|
|
|
org.opencontainers.image.vendor="BauCloud GmbH" \
|
|
|
|
org.opencontainers.image.version="${DOCKER_VERSION} with docker-compose ${COMPOSE_VERSION}"
|