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

Make --no-cache option optional #96

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

nicolasbock
Copy link
Collaborator

During development, it is much faster to use the cache when building the
images. Because the cache can be outdated sufficiently that the image
build fails, this change makes the --no-cache option configurable. The
cache is used by default but can be disabled by setting the NOCACHE
environment variable.

NOCACHE=1 make docker-build

Signed-off-by: Nicolas Bock [email protected]

During development, it is much faster to use the cache when building the
images. Because the cache can be outdated sufficiently that the image
build fails, this change makes the `--no-cache` option configurable. The
cache is used by default but can be disabled by setting the `NOCACHE`
environment variable.

    NOCACHE=1 make docker-build

Signed-off-by: Nicolas Bock <[email protected]>
@nicolasbock nicolasbock self-assigned this Oct 11, 2023
@nicolasbock nicolasbock merged commit a882f7f into canonical:main Oct 12, 2023
7 checks passed
@nicolasbock nicolasbock deleted the nocache branch October 12, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant