File tree Expand file tree Collapse file tree 7 files changed +1
-138
lines changed Expand file tree Collapse file tree 7 files changed +1
-138
lines changed Original file line number Diff line number Diff line change 1- FROM debian:bookworm-slim
1+ FROM scalified/dind:debian
22
33LABEL maintainer=
"Scalified <[email protected] >" 44
55ARG ACTIONS_RUNNER_VERSION="2.328.0"
66
7- ENV DEBIAN_FRONTEND=noninteractive
87ENV RUNNER_ALLOW_RUNASROOT="1"
98
10- RUN apt update && \
11- apt install -y --no-install-recommends \
12- ca-certificates \
13- curl \
14- cron \
15- wget \
16- git \
17- gnupg \
18- lsb-release \
19- libicu72 \
20- supervisor && \
21- apt clean && \
22- rm -rf /var/lib/apt/lists/*
23-
24- RUN mkdir -p /etc/apt/keyrings && \
25- curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && \
26- chmod a+r /etc/apt/keyrings/docker.asc && \
27- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
28- $(. /etc/os-release && echo " $VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
29-
30- RUN apt update && \
31- apt install -y --no-install-recommends \
32- docker-ce \
33- docker-buildx-plugin && \
34- apt clean && \
35- rm -rf /var/lib/apt/lists/*
36-
379WORKDIR /opt/actions-runner
3810
3911RUN curl -sSLo actions-runner.tar.gz "https://github.com/actions/runner/releases/download/v${ACTIONS_RUNNER_VERSION}/actions-runner-linux-x64-${ACTIONS_RUNNER_VERSION}.tar.gz" \
@@ -42,5 +14,3 @@ RUN curl -sSLo actions-runner.tar.gz "https://github.com/actions/runner/releases
4214
4315COPY rootfs /
4416
45- ENTRYPOINT ["/usr/local/bin/entrypoint" ]
46-
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ docker run \
2323 --restart unless-stopped \
2424 --privileged \
2525 -v $(pwd)/docker:/var/lib/docker \
26- -e "DOCKER_PRUNE_SCHEDULE=0 0 * * 1" \
2726 -e URL=https://github.com/$GITHUB_ORG_NAME \
2827 -e TOKEN=AAAAAAAAAAAAAAAAAAAAAAAAAAAAA \
2928 -e LABELS=ghar-runner-1 \
@@ -33,7 +32,6 @@ docker run \
3332
3433| Environment Variable | Description |
3534| -------------------------| --------------------------------------------------------------------------|
36- | ` DOCKER_PRUNE_SCHEDULE ` | ** Cron** schedule for auto docker system prune ("37 4 2 * * " by default) |
3735| ` URL ` | ** GitHub** organization URL: ` https://github.com/$GITHUB_ORG_NAME ` |
3836| ` TOKEN ` | ** GitHub** Actions Runner token displayed after adding a new runner |
3937| ` LABELS ` | Labels assigned to the ** GitHub Actions Runner** |
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments