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

[BUG] Make dalec respect the --no-cache docker build flag #512

Open
1 task
pmengelbert opened this issue Jan 31, 2025 · 0 comments
Open
1 task

[BUG] Make dalec respect the --no-cache docker build flag #512

pmengelbert opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pmengelbert
Copy link
Contributor

Expected Behavior

Using --no-cache when calling docker buildx build -f <dalec_spec> should result in a cacheless build.

Actual Behavior

Dalec uses its optimized caching whether or not the flag is present.

Steps To Reproduce

docker buildx build -f <dalec_spec>.yml --target=azlinux3/container --output=/tmp/out
docker buildx build --no-cache -f <dalec_spec>.yml --target=azlinux3/container --output=/tmp/out

You will see that the second build uses the cache and completes very quickly.

Are you willing to submit PRs to contribute to this bug fix?

  • Yes, I am willing to implement it.
@pmengelbert pmengelbert added the bug Something isn't working label Jan 31, 2025
@MorrisLaw MorrisLaw self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants