openresty / openresty/docker-openresty
Smaller image possible?
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1k
- Forks
- 536
- Avg merge
- 1d 32m
- Merged PRs (30d)
- 1
Description
There's a comment in the Xenial Dockerfile:
I think removing build-essential and make, just prior to the apt-get autoremove should cut the image size by ~100MiB, or ~20%.
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
Start in xenial/Dockerfile around line 107 and inspect the package cleanup sequence after the build completes. Test whether removing build-essential and make before apt-get autoremove reduces the resulting image size without breaking the image build. Done means the Xenial image builds successfully and the size reduction is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile
- Domain
- build-system, devops
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100