actions-runner-controller icon indicating copy to clipboard operation
actions-runner-controller copied to clipboard

Getting "curl not found" when trying to execute curl command on arc runner.

Open vishrane opened this issue 1 year ago • 7 comments

What would you like added?

IS there any way to add curl package to arc runner as we need to execute curl command as part of CI.

A clear and concise description of what you want to happen.

Note: Feature requests to integrate vendor specific cloud tools (e.g. awscli, gcloud-sdk, azure-cli) will likely be rejected as the Runner image aims to be vendor agnostic.

Why is this needed?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

vishrane avatar Dec 06 '23 05:12 vishrane

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.

github-actions[bot] avatar Dec 06 '23 05:12 github-actions[bot]

@vishrane it is not included in the default software installed.

pavlospt avatar Dec 07 '23 19:12 pavlospt

Is there any way to install it

vishrane avatar Dec 08 '23 03:12 vishrane

Yes you can use the default image as your base and create a new image for your runners!

pavlospt avatar Dec 08 '23 12:12 pavlospt

You could do something like:

FROM ghcr.io/actions/actions-runner:latest

RUN sudo apt update -y && \
    sudo apt install -y \
    curl

adefemi171 avatar Dec 11 '23 21:12 adefemi171

How do I use the created Dockerfile inside a Kubernetes cluster? I found this thing: example-input-for-dockerfile and this: updating-the-pod-specification-for-the-runner-pod

my setup

janekx21 avatar Feb 26 '24 13:02 janekx21

can we please add curl to the default image? This seems like such a common/basic thing that it's surprising this is missing.

geekflyer avatar May 13 '24 08:05 geekflyer