File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
k8s/github-runners/runner-image Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ghcr.io/actions/actions-runner:2.321.0
2
+
3
+ ARG DEBIAN_FRONTEND=noninteractive
4
+ ARG TARGET_TOOLSET_REV=45226c1116cdb863fcc3804d00c9aaaedb270b52
5
+
6
+ COPY install_pkgs.sh toolset-2204.json.sha256sum /home/runner
7
+
8
+ RUN curl -LO https://github.com/actions/runner-images/raw/${TARGET_TOOLSET_REV}/images/ubuntu/toolsets/toolset-2204.json && \
9
+ sha256sum --check < toolset-2204.json.sha256sum
10
+
11
+ RUN sudo apt-get update -y
12
+
13
+ RUN ./install_pkgs.sh toolset-2204.json
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -exo pipefail
3
+
4
+ declare -r toolset=$1
5
+
6
+ package_set=$( cat $toolset | jq -r " (.apt.vital_packages + .apt.common_packages + .apt.cmd_packages)[]" )
7
+
8
+ sudo apt-get install --no-install-recommends $package_set -y
Original file line number Diff line number Diff line change
1
+ e97c4e7ed790334c5068cb85f06c19e7c72644cef9932050cd1ba60c086b33d0 toolset-2204.json
You can’t perform that action at this time.
0 commit comments