actions-base-image/README.md

17 lines
555 B
Markdown
Raw Normal View History

2023-12-13 00:50:24 +00:00
# Forgejo actions base image
2023-12-13 00:49:33 +00:00
2023-12-13 00:50:24 +00:00
Docker image with all dependencies installed, configured to be as close to
GitHub actions as possible.
2024-04-24 17:01:50 +00:00
The CI builds this image on pushes to `main` as `git.pub.solar/pub-solar/actions-base-image:20-bookworm`.
2023-12-28 18:53:23 +00:00
2023-12-28 22:07:43 +00:00
Building the image locally:
2023-12-13 00:50:24 +00:00
```
2023-12-28 22:07:43 +00:00
docker build --tag git.pub.solar/pub-solar/actions-base-image:20-bookworm .
2023-12-13 00:50:24 +00:00
```
2023-12-28 22:07:43 +00:00
Creates a `ci` user with passwordless sudo to enable nix single-user install in a `node:20-bookworm` base image.
2023-12-13 00:50:24 +00:00
See this [GH issue](https://github.com/NixOS/nix/issues/1559) for additional context.