1
0
mirror of https://github.com/tmaier/docker-compose synced 2024-11-22 16:01:59 +01:00

Fix ARG COMPOSE_VERSION being defind outside build stage

See https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
This commit is contained in:
Tobias L. Maier 2018-04-29 05:17:40 +02:00
parent c1c546273e
commit f007d880b0
10 changed files with 20 additions and 20 deletions

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.8.*
FROM docker:1.12
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.8.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.10.*
FROM docker:1.13
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.10.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.11.*
FROM docker:17.03
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.11.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.15.*
FROM docker:17.06
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.15.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.16.*
FROM docker:17.09
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.16.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.18.*
FROM docker:17.12
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.18.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.18.*
FROM docker:17
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.18.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.19.*
FROM docker:18.02
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.19.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=1.19.*
FROM docker:18
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=1.19.*
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"

@ -1,7 +1,7 @@
ARG COMPOSE_VERSION=
FROM docker:latest
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
ARG COMPOSE_VERSION=
RUN apk add --no-cache py-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"