Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

No rebuild on compose up if image already exists by default#1044

Merged
ndeloof merged 1 commit intodocker-archive:mainfrom
gtardif:compose_build_when_needed
Dec 10, 2020
Merged

No rebuild on compose up if image already exists by default#1044
ndeloof merged 1 commit intodocker-archive:mainfrom
gtardif:compose_build_when_needed

Conversation

@gtardif
Copy link
Copy Markdown
Contributor

@gtardif gtardif commented Dec 10, 2020

Signed-off-by: Guillaume Tardif guillaume.tardif@gmail.com

What I did

  • do not rebuild by default if not needed
  • Added first use of compose pull_policy and compose up --build to allow to force rebuild.
  • extended e2e tests

Related issue
Fixes #1025

(not mandatory) A picture of a cute animal, if possible in relation with what you did

…rst use of compose pull_policy and `compose up --build` to allow to force rebuild.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@gtardif gtardif requested review from ndeloof and rumpl December 10, 2020 17:39
@github-actions github-actions Bot added cli cli local Local context (moby) labels Dec 10, 2020
@ndeloof ndeloof merged commit 4f883ca into docker-archive:main Dec 10, 2020
@gtardif gtardif deleted the compose_build_when_needed branch March 22, 2021 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli cli local Local context (moby)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Local compose: build only if image not available, during compose up, except with --build

2 participants