From 3f7f5d5b9d5492088ad0b15694ee93e37a435874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Sodr=C3=A9?= Date: Fri, 20 Nov 2026 00:24:20 -0500 Subject: [PATCH] Image: add file (#38) Jobs that ran on GitHub-hosted Ubuntu runners rely on `file`, and no package on the runner image's list pulls it in. Install it, check `file --version` in the smoke test, and name it in the README's "What the job gets" list. Co-Authored-By: Claude Haiku 5.5 --- README.md | 2 +- image/Dockerfile | 2 +- image/smoke.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 12bc831..2018001 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ lists every job it affects. **What the job gets:** Ubuntu 24.04, the runner as user `runner` (passwordless sudo), Docker through the host's socket, the `docker compose` and `buildx` -plugins, `gh`, `jq`, `make`, a C and C++ compiler (`build-essential`: `cc`, `c++`), `pkg-config`, `git`, `curl`, `zstd`, `zip`, `unzip`, Python 3.12 as `python3`, +plugins, `gh`, `jq`, `make`, a C and C++ compiler (`build-essential`: `cc`, `c++`), `pkg-config`, `git`, `curl`, `file`, `zstd`, `zip`, `unzip`, Python 3.12 as `python3`, Node.js and AWS CLI v2. `actions/setup-*` work, but there is no warm toolcache, so each job downloads its runtime again. The job runs in a container that drives the host's Docker daemon, so a `docker run -v` source is a path on the host. diff --git a/image/Dockerfile b/image/Dockerfile index 3c8d121..f0d7354 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update \ > /etc/apt/sources.list.d/github-cli.list \ && curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ && apt-get install -y --no-install-recommends \ - gh jq make git curl zstd zip unzip python3 python3-venv python3-pip nodejs \ + gh jq make git curl file zstd zip unzip python3 python3-venv python3-pip nodejs \ build-essential pkg-config \ && rm -rf /var/lib/apt/lists/* diff --git a/image/smoke.sh b/image/smoke.sh index e643c08..e018825 100755 --- a/image/smoke.sh +++ b/image/smoke.sh @@ -40,6 +40,7 @@ check c++ c++ --version check pkg-config pkg-config --version check git git --version check curl curl --version +check file file --version check zstd zstd --version check zip zip --version check unzip unzip -v