Compose: Add target property to build

Created on 3 May 2017  Â·  6Comments  Â·  Source: docker/compose

Compose should support specifying target stage in the build definition. https://github.com/moby/moby/pull/32496

@dnephin

arebuild kinfeature

Most helpful comment

I'm waiting for a new release of the docker-py library before I can add it
to compose.

On Mon, 29 May 2017, 21:13 Sune Keller, notifications@github.com wrote:

@lawliet89 https://github.com/lawliet89 Looks like it worked in
docker/docker-py#1612 https://github.com/docker/docker-py/pull/1612 -
any chance it can work in docker-compose too?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docker/compose/issues/4790#issuecomment-304658311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8APRr_S-2HAE7vtmQsvF4AENSuwQM9ks5r-sSGgaJpZM4NPrI9
.

All 6 comments

I've submitted https://github.com/docker/docker-py/pull/1612 to add the functionality to docker-py before I attempt to add it to docker-compose.

@lawliet89 Looks like it worked in docker/docker-py#1612 - any chance it can work in docker-compose too?

I'm waiting for a new release of the docker-py library before I can add it
to compose.

On Mon, 29 May 2017, 21:13 Sune Keller, notifications@github.com wrote:

@lawliet89 https://github.com/lawliet89 Looks like it worked in
docker/docker-py#1612 https://github.com/docker/docker-py/pull/1612 -
any chance it can work in docker-compose too?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docker/compose/issues/4790#issuecomment-304658311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8APRr_S-2HAE7vtmQsvF4AENSuwQM9ks5r-sSGgaJpZM4NPrI9
.

@lawliet89 docker-py 2.4.0 has been released

@shin- : Looking at the compatibility matrix, this feature would only be supported by at least Docker 17.05. So only version 3.3 of Docker Compose files would support it. Would it be alright if I introduced a new version 2.3 or just limit this to only 3.3?

@lawliet89 Look at how the "network" option was recently added and do the same. Just open a PR and the rest will follow. It's going to take ages otherwise.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HackerWilson picture HackerWilson  Â·  3Comments

squeaky-pl picture squeaky-pl  Â·  3Comments

saulshanabrook picture saulshanabrook  Â·  3Comments

guycalledseven picture guycalledseven  Â·  3Comments

maltefiala picture maltefiala  Â·  3Comments