Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "--pull" to docker build #34

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Conversation

applejag
Copy link
Contributor

Summary

  • Added --pull to docker build in Makefile

Motivation

This forces the docker build to always try and pull the latest image, so that our local cache doesn't make our newly-built images use old base images.

The --pull flag does not disable the cache. Docker will first check the hashes of the upstream image layers, and only if they don't match with the cached layers then it will start downloading the up-to-date layers.

This was brought up in a PR discussion: iver-wharf/wharf-web#66 (comment)


Skipping adding to CHANGELOG.md as this is such a minor change.

@applejag applejag added the enhancement New feature or request label Sep 10, 2021
@applejag applejag self-assigned this Sep 10, 2021
@applejag applejag added this to In progress in Backlog via automation Sep 10, 2021
Copy link

@iverestefans iverestefans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Backlog automation moved this from In progress to Reviewer approved Sep 13, 2021
@applejag applejag merged commit cdb85c7 into master Sep 13, 2021
Backlog automation moved this from Reviewer approved to Done Sep 13, 2021
@applejag applejag deleted the feature/docker-build-pull branch September 13, 2021 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants