Skip to content

Instantly share code, notes, and snippets.

@rexwhitten
Created January 13, 2026 20:35
Show Gist options
  • Select an option

  • Save rexwhitten/4407b535c3f2c42f63c81e919492bd87 to your computer and use it in GitHub Desktop.

Select an option

Save rexwhitten/4407b535c3f2c42f63c81e919492bd87 to your computer and use it in GitHub Desktop.

Option 1: Adapt to the RHEL Environment (Immediate Fix) If you must use this specific runner, you need to use RHEL commands.

Replace your before_script with this:

YAML

before_script:

RHEL uses yum/dnf. We install 'make' and 'unzip' (needed for AWS CLI)

  • sudo yum install -y make unzip

AWS CLI v2 is rarely in default RHEL repos, so we install it manually

  • curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
  • unzip -q awscliv2.zip
  • sudo ./aws/install --update Note: This requires your runner user to have sudo permissions. If sudo fails, you will need to ask your administrator to install these tools on the server permanently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment