mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
update github runner docker
This commit is contained in:
@ -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
|
7
dockerfiles/github-runner/docker-compose.yml
Normal file
7
dockerfiles/github-runner/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
runner:
|
||||
container_name: github-runner-1
|
||||
image: github-runner
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user