update github runner docker

This commit is contained in:
xfy
2024-05-20 17:24:02 +08:00
parent cc54c3cb21
commit 70f362e21a
4 changed files with 10 additions and 3 deletions

View File

@ -1,9 +1,9 @@
FROM ubuntu
WORKDIR /runner
RUN apt-get update \
&& apt-get install curl libdigest-sha-perl dotnet-sdk-7.0 \
aspnetcore-runtime-6.0 tmux build-essential -y \
RUN apt-get update -y \
&& apt-get install -y curl libdigest-sha-perl dotnet-sdk-8.0 \
aspnetcore-runtime-8.0 tmux build-essential \
&& useradd --create-home xfy \
&& mkdir actions-runner \
&& chown -R xfy actions-runner

View File

@ -0,0 +1,7 @@
version: "3.8"
services:
runner:
container_name: github-runner-1
image: github-runner
restart: unless-stopped