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

Dependent images are cached and not re-built when their base image's Dockerfile is changed #1516

Closed
lbussell opened this issue Dec 11, 2024 · 3 comments · Fixed by #1518
Closed

Comments

@lbussell
Copy link
Contributor

See dotnet/dotnet-docker#6110 (comment)

Steps to reproduce the issue

Queue a PR validation build of dotnet-docker repo where some runtime deps Dockerfiles are changed but not any dependent runtime or aspnet Dockerfiles.

Expected behavior

All images dependent on the changed runtime-deps images will be re-built.

Actual behavior

No images dependent on the changed runtime-deps images are re-built. This results in test failures when there is an expected behavior change like in dotnet/dotnet-docker#6110.

Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

1 similar comment
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@mthalman
Copy link
Member

This is a regression that was caused by #1427. That change explicitly prevented it from accounting for locally built base images which is problematic for this scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants