Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Joren-vanGoethem committed Oct 24, 2024
1 parent d1edcf3 commit 66ff03e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions github-actions-runner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM ubuntu:22.04

ARG runner_version="2.320.0"
ARG RUNNER_VERSION="2.320.0"

ARG DEBIAN_FRONTEND=noninteractive

RUN apt update -y && apt upgrade -y && useradd -m docker
RUN apt install -y --no-install-recommends \
curl jq build-essential libssl-dev libffi-dev python3 python3-pip python3-venv python3-dev

RUN cd /home/docker && mkdir actions-runner && actions-runner \
&& curl -O -L https://github.com/actions/runner/releases/download/v${runner_version}/actions-runner-linux-x64-${runner_version}.tar.gz \
&& tar xzf ./actions-runner-linux-x64-${runner_version}.tar.gz
RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
&& curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
&& tar xzf ./actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz

RUN chown -R docker ~docker && /home/docker/actions-runner/bin/installdependencies.shared

Expand Down

0 comments on commit 66ff03e

Please sign in to comment.