actions-base-image/README.md
teutat3s 0ab0d34cd3
Some checks failed
Build docker image / build-image (push) Failing after 1m10s
docs: update README
2024-11-07 10:44:15 +01:00

26 lines
645 B
Markdown

# Forgejo actions base image
Docker image with all dependencies installed, configured to be as close to
GitHub actions as possible.
Creates a `ci` user with passwordless sudo to enable nix single-user install in
a `node:20-bookworm` base image.
See this [GH issue](https://github.com/NixOS/nix/issues/1559) for additional
context.
### How to update the image
On push to the `main` branch, a job will be triggered to build the image and
push it as `git.pub.solar/pub-solar/actions-base-image:20-bookworm`.
### Local testing
Building the image locally:
```
docker build --tag git.pub.solar/pub-solar/actions-base-image:20-bookworm .
```