Node.js 26 (unofficial musl build), Corepack, the Docker CLI, git, FFmpeg, ShellCheck and Ruff
970
An Alpine image for running GitHub Actions workflows locally with act, or as a CI job container: Node.js, Corepack, the Docker CLI, git, FFmpeg, ShellCheck and Ruff.
Docker Hub · Source · All images
| Base image | alpine:3.24.4 |
| Software | Node.js 26.13.1 (unofficial musl build, sha256 checked) with Corepack 0.36.0 |
| Also included | npm, Yarn (through Corepack), git, the Docker CLI, FFmpeg, Python 3, bash, ShellCheck, Ruff 0.17.6 (pip) |
| User | actions (uid 1000) with passwordless doas (doas apk add ...) |
| Tags | latest, 3.24.4, 3.24.4-YYYYMMDD (the Alpine Linux version) |
Run in an empty directory; the commands work on the files of the current directory, mounted as the home directory of the container. CI runs these commands to check that they work.
# open a shell, with the current directory as the home directory
docker run --rm -it -v .:/home/actions -w /home/actions aljazmc/actions-alpine
# the tools a CI job gets
docker run --rm aljazmc/actions-alpine sh -c "node --version && corepack --version && git --version && docker --version && ruff version"
# lint the shell scripts and the Python code of the current directory
docker run --rm -v .:/home/actions -w /home/actions aljazmc/actions-alpine sh -c "shellcheck *.sh && ruff check --no-cache ."
## docker-compose.yml file
services:
node:
image: aljazmc/actions-alpine
working_dir: /home/actions
volumes:
- .:/home/actions
environment:
HOME: /home/actions
NODE_ENV: development
network_mode: host
## print corepack version
docker-compose run --rm node corepack -v
## set yarn version to berry
docker-compose run --rm node yarn set version berry
## initialize a new project
docker-compose run --rm node yarn init
## use shell inside the container to print environment variables
docker-compose run --rm node sh -c "printenv"
latest: the newest build.3.24.4: the Alpine Linux version in the image, e.g. aljazmc/actions-alpine:3.24.4. Use it to stay on a known version.3.24.4-YYYYMMDD: the same version, built on that date (UTC), e.g. 3.24.4-20261124. Every build gets its own tag that never moves, so use it where you need exactly the same image again.COREPACK_VERSION in the Dockerfile (npm install -g [email protected]). Node.js is pinned to 26.13.1 with NODE_VERSION.The Dockerfile, the scripts and this README are part of aljazmc/dockerfiles, released under the MIT License.
The software in the image keeps its own license:
| Software | License | In the image |
|---|---|---|
| Node.js | MIT | /usr/local/LICENSE |
Every other package keeps its license too: apk info --license <package> shows it on Alpine, /usr/share/doc/<package>/copyright on Debian.
Content type
Image
Digest
sha256:eb014302a…
Size
278.6 MB
Last updated
2 days ago
docker pull aljazmc/actions-alpine