Skip to content

docker-compose build --pull breaks dependent builds within same compose file #12

@solsson

Description

@solsson

After 1602ed4 and 078eeea we can no longer run compose files with the following convention:

  productionimage:
    build:
      context: ../
    image: registry/yolean/something
  testservice:
    depends_on:
      - httpd-latest
    build:
      # This dockerfile has "FROM registry/yolean/something"
      context: ../modify-for-testing

An example such build is https://github.com/Reposoft/docker-svn/blob/master/build-contracts/docker-compose.yml where production image builds have local dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions