Dockerfile always rebuilding with "Incremental Prebuilds" enabled
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Bug description
I have Incremental Prebuilds enabled for my project (https://gitpod.io/projects/rdflib/settings), however every time I commit to a PR branch the docker build starts from scratch as far as I can tell.
Steps to reproduce
- Create a branch from https://github.com/aucampia/rdflib/tree/iwana-20220718T2235-gitpod-issue
- Create a (draft) PR from the branch
- Wait for it to do a prebuild
- Create an arbitrary update to README.md on the branch
- Wait for it to do a prebuild
Workspace affected
https://gitpod.io/#https://github.com/aucampia/rdflib/tree/iwana-20220718T2235-gitpod-issue
Expected behavior
Each update to README.md after the first prebuild does not do a full docker build
Example repository
https://github.com/aucampia/rdflib/tree/iwana-20220718T2235-gitpod-issue
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked example repository and its Dockerfile-related prebuild behavior, using the README.md update in the reproduction steps to compare successive prebuilds. Review the referenced issue 14334 and available prebuild logs first. Done means an arbitrary README.md commit reuses the prior Docker build rather than rebuilding from scratch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100