File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
- FROM ghcr.io/actions/actions-runner:latest
1
+ FROM ghcr.io/sergelogvinov/github-actions-runner:2.321.0
2
+ # FROM ghcr.io/actions/actions-runner:latest
2
3
3
4
USER root
4
5
6
+ # Install nodejs, otherwise actions/checkout@v4 will fail.
7
+ RUN apt-get -qqy update && \
8
+ apt-get -qqy install build-essential && \
9
+ export NODEJS_VERSION=${NODEJS_VERSION:-22.x} && \
10
+ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
11
+ | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
12
+ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODEJS_VERSION nodistro main" \
13
+ > /etc/apt/sources.list.d/nodesource.list && \
14
+ apt-get -qqy update && apt-get -qqy install nodejs && \
15
+ apt-get -qqy --purge remove build-essential && \
16
+ apt-get -qqy --purge autoremove && \
17
+ apt-get clean && \
18
+ rm -rf /var/lib/apt/lists/* && \
19
+ (npm config set -g spin=false || :) && \
20
+ npm config set -g progress=false
21
+
5
22
# Custom chart executes builds on /builds: https://github.com/sergelogvinov/helm-charts/blob/main/charts/github-actions-runner/templates/autoscalingrunnerset.yaml#L154
6
- RUN mkdir -p /builds && chown runner:runner /builds
23
+ # RUN mkdir -p /builds && chown runner:runner /builds
7
24
8
25
# Pull taito-cli:ci-gcp-dev on start
9
26
# RUN sed -i '/updateFile="update.finished"/a docker pull ghcr.io/taitounited/taito-cli:ci-gcp-dev' /home/runner/run-helper.sh.template
You can’t perform that action at this time.
0 commit comments