graphprotocol / graphprotocol/indexer
Minify docker images
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 262
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
Currently v0.16.0 indexer-agent docker image size is 2.6GB. NodeJS runtime (base image) is only 55MB.
Current image contains rust compile and other stuff not required in runtime, as far as I understand.
Big images makes image pulling/pushing slow and uses a lot of space on disk. It would be cool if it's possible to minify image at least to 1GB size
Contributor guide
No contributing guide indexed for this repository
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
Inspect the Docker image build configuration for the v0.16.0 indexer-agent image and examine which layers contain Rust compilation and other build-time content. Done means producing a runtime image no larger than about 1GB while retaining the required indexer-agent functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, node.js, rust
- Domain
- build-system, devops, infrastructure
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100