build(image): the command-line tools of GitHub's ubuntu-24.04 image
- commit
- 33401b890fafad6b84a1cbc98f305df4abbc9879
- author
- brice · · 2026-10-14 15:40 UTC
- committer
- bnema · · 2026-10-14 15:40 UTC
- parent
- 5ac9bb1
- signature
- SSH Unverified
SHA256:VOCA5lYARHcbKDZ7GhTV45VmcjWnJ6ZQIBazj17LivAThe key is unknown
1 file · +14 -0
M images/ubuntu-24.04/Dockerfile +14 -0
| @@ -15,6 +15,20 @@ RUN apt-get update \ | |||
| 15 | 15 | iptables jq kmod procps python-is-python3 python3 sudo tzdata unzip xz-utils zip \ | |
| 16 | 16 | && rm -rf /var/lib/apt/lists/* | |
| 17 | 17 | ||
| 18 | + | # The command-line tools of GitHub's ubuntu-24.04 image that workflows call | |
| 19 | + | # directly (runner-images, images/ubuntu/toolsets/toolset-2404.json: | |
| 20 | + | # apt.vital_packages and apt.cmd_packages), minus the daemons and services | |
| 21 | + | # (haveged, pollinate, sphinxsearch, systemd-coredump). parallel pulls in | |
| 22 | + | # sysstat, whose collection units are masked: a job image runs no services. | |
| 23 | + | RUN apt-get update \ | |
| 24 | + | && apt-get install -y --no-install-recommends \ | |
| 25 | + | acl aria2 binutils bison brotli bzip2 coreutils file findutils flex ftp \ | |
| 26 | + | libnss3-tools lz4 m4 mediainfo netcat-openbsd net-tools p7zip-full parallel \ | |
| 27 | + | patchelf pigz rsync shellcheck sqlite3 openssh-client sshpass swig telnet \ | |
| 28 | + | time wget \ | |
| 29 | + | && rm -rf /var/lib/apt/lists/* \ | |
| 30 | + | && for u in sysstat.service sysstat-collect.timer sysstat-summary.timer; do ln -sf /dev/null /etc/systemd/system/$u; done | |
| 31 | + | ||
| 18 | 32 | # Docker Engine from Docker's apt repository (the job gets its own daemon). | |
| 19 | 33 | RUN install -m 0755 -d /etc/apt/keyrings \ | |
| 20 | 34 | && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \ | |
| @@ -15,6 +15,20 @@ RUN apt-get update \ | |||||
| 15 | iptables jq kmod procps python-is-python3 python3 sudo tzdata unzip xz-utils zip \ | 15 | iptables jq kmod procps python-is-python3 python3 sudo tzdata unzip xz-utils zip \ | ||
| 16 | && rm -rf /var/lib/apt/lists/* | 16 | && rm -rf /var/lib/apt/lists/* | ||
| 17 | 17 | ||||
| 18 | + | # The command-line tools of GitHub's ubuntu-24.04 image that workflows call | |||
| 19 | + | # directly (runner-images, images/ubuntu/toolsets/toolset-2404.json: | |||
| 20 | + | # apt.vital_packages and apt.cmd_packages), minus the daemons and services | |||
| 21 | + | # (haveged, pollinate, sphinxsearch, systemd-coredump). parallel pulls in | |||
| 22 | + | # sysstat, whose collection units are masked: a job image runs no services. | |||
| 23 | + | RUN apt-get update \ | |||
| 24 | + | && apt-get install -y --no-install-recommends \ | |||
| 25 | + | acl aria2 binutils bison brotli bzip2 coreutils file findutils flex ftp \ | |||
| 26 | + | libnss3-tools lz4 m4 mediainfo netcat-openbsd net-tools p7zip-full parallel \ | |||
| 27 | + | patchelf pigz rsync shellcheck sqlite3 openssh-client sshpass swig telnet \ | |||
| 28 | + | time wget \ | |||
| 29 | + | && rm -rf /var/lib/apt/lists/* \ | |||
| 30 | + | && for u in sysstat.service sysstat-collect.timer sysstat-summary.timer; do ln -sf /dev/null /etc/systemd/system/$u; done | |||
| 31 | + | ||||
| 18 | # Docker Engine from Docker's apt repository (the job gets its own daemon). | 32 | # Docker Engine from Docker's apt repository (the job gets its own daemon). | ||
| 19 | RUN install -m 0755 -d /etc/apt/keyrings \ | 33 | RUN install -m 0755 -d /etc/apt/keyrings \ | ||
| 20 | && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \ | 34 | && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \ | ||