act-runner-image icon indicating copy to clipboard operation
act-runner-image copied to clipboard

What's the easiest way to get a variant with more toolkits

Open kublaios opened this issue 1 year ago • 1 comments

First off, thanks for this repo. I'm looking for a way of using a variant that has Ruby and Python preinstalled, as these steps take time if performed during the workflow. Because I'm unfamiliar with Docker, I couldn't understand if and how this could be possible.

kublaios avatar Aug 16 '23 10:08 kublaios

Hi @kublaios

this is a bit hacky. You can look up the names of the scripts here

And add the name of the file to the loop here

You can then generate the Dockerfiles with bash generate-variants.sh and build the image using docker build --file=Dockerfile.ruby -t act-runner-image:test-ruby ., where ruby is just an example.

This will then generate another tag of the image. It would also be good to add a test (see github actions workflow and the test folder.

Feel free to open a PR.

Best, Florian

fwilhe2 avatar Aug 16 '23 20:08 fwilhe2