actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.69k stars 1.11k forks source link

Support experimental mode for dockerd #2755

Open remover opened 1 year ago

remover commented 1 year ago

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?

github-actions[bot] commented 1 year ago

Hello! Thank you for filing an issue.

The maintainers will triage your issue shortly.

In the meantime, please take a look at the troubleshooting guide for bug reports.

If this is a feature request, please review our contribution guidelines.