actions / actions/actions-runner-controller

Support experimental mode for dockerd

Open
#2,755 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

community enhancement needs triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.