tilt can't inject into image builds specified in docker-compose.yml
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
Create a project with:
- A base image specified by docker_build
- An app image that builds FROM the base image
- A docker_compose.yml that specifies how to build the app image
Expected:
Tilt should be able to build the base image and inject it into the app image
Actual:
Tilt can't find the base image in the app image.
Snapshot: https://cloud.tilt.dev/snapshot/AeqgjuQL-OYCH2ppTQo=
Repro code: https://github.com/windmilleng/nodejs-express-k8s/blob/nicks/dc-base-image/Tiltfile
I think there's a more general bug here that 'build' specified in a docker_compose file and a docker_build in a Tiltfile are implemented very differently, and have lots of gotchas when you try to use them interchangeably
reported by tmc in the tilt k8s channel
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 reproduction Tiltfile and its docker_compose.yml, then reproduce the base-image and app-image build sequence described in the issue. Compare how docker_build and the Compose build are handled; done means the base image is found and injected when building the app image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose
- 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