actions / actions/actions-runner-controller
Support experimental mode for dockerd
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 1.5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 27
Description
What would you like added?
The ability to enable experimental mode for dockerd
Why is this needed?
Experimental docker features, e.g. the --squash option on docker build, seem to be included by default in the latest versions of docker but ARC seems to be stuck on an earlier version.
Additional context
Squash will merge all diffs and produce a single layer for all commands.
This reduces image sizes for Dockerfiles with the pattern of ADD file, RUN
install file, RUN rm file.
It seems like it might be fairly trivial to add by supporting an env var that gets parsed here?
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 in runner/entrypoint-dind.sh around line 19, where the dockerd environment is parsed. Determine how an environment variable could enable experimental mode for dockerd, including the cited --squash use case. Done means the runner can opt into experimental mode through that setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100