Kallz02/github-runner
0
1# Use the Debian Bullseye Slim base image2FROM debian:bullseye-slim3 4# Update the package list and install required packages5RUN apt-get update -y && apt-get upgrade -y && \6 apt-get install -y --no-install-recommends \7 curl wget unzip vim git jq build-essential libssl-dev libffi-dev ca-certificates && \8 useradd -m docker9 10# Create a directory for the actions runner and set it as the working directory11WORKDIR /actions-runner12 13# Download and extract the GitHub Actions runner14RUN curl -o actions-runner-linux-x64-2.309.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.309.0/actions-runner-linux-x64-2.309.0.tar.gz && \15 tar xzf ./actions-runner-linux-x64-2.309.0.tar.gz16RUN ./bin/installdependencies.sh17# Run the configuration script as the non-root user18RUN chown -R docker:docker /actions-runner19USER docker20RUN ./config.sh --url https://github.com/Kallz02/Portfolio --token AVVFWUTARHVEWGV67ZHTCUDFAAO7E21 22# Set the entry point for the container23ENTRYPOINT ["./run.sh"]24 