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:
parent
c1c546273e
commit
f007d880b0
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.8.*
|
|
||||||
|
|
||||||
FROM docker:1.12
|
FROM docker:1.12
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.8.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.10.*
|
|
||||||
|
|
||||||
FROM docker:1.13
|
FROM docker:1.13
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.10.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.11.*
|
|
||||||
|
|
||||||
FROM docker:17.03
|
FROM docker:17.03
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.11.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.15.*
|
|
||||||
|
|
||||||
FROM docker:17.06
|
FROM docker:17.06
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.15.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.16.*
|
|
||||||
|
|
||||||
FROM docker:17.09
|
FROM docker:17.09
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.16.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.18.*
|
|
||||||
|
|
||||||
FROM docker:17.12
|
FROM docker:17.12
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.18.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.18.*
|
|
||||||
|
|
||||||
FROM docker:17
|
FROM docker:17
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.18.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.19.*
|
|
||||||
|
|
||||||
FROM docker:18.02
|
FROM docker:18.02
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.19.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=1.19.*
|
|
||||||
|
|
||||||
FROM docker:18
|
FROM docker:18
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=1.19.*
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ARG COMPOSE_VERSION=
|
|
||||||
|
|
||||||
FROM docker:latest
|
FROM docker:latest
|
||||||
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
MAINTAINER Tobias Maier <tobias.maier@baucloud.com>
|
||||||
|
|
||||||
|
ARG COMPOSE_VERSION=
|
||||||
|
|
||||||
RUN apk add --no-cache py-pip
|
RUN apk add --no-cache py-pip
|
||||||
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}"
|
||||||
|
Loading…
Reference in New Issue
Block a user