This commit is contained in:
parent
9268148099
commit
0ab0d34cd3
19
README.md
19
README.md
|
@ -3,14 +3,23 @@
|
||||||
Docker image with all dependencies installed, configured to be as close to
|
Docker image with all dependencies installed, configured to be as close to
|
||||||
GitHub actions as possible.
|
GitHub actions as possible.
|
||||||
|
|
||||||
The CI builds this image on pushes to `main` as `git.pub.solar/pub-solar/actions-base-image:20-bookworm`.
|
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:
|
Building the image locally:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker build --tag git.pub.solar/pub-solar/actions-base-image:20-bookworm .
|
docker build --tag git.pub.solar/pub-solar/actions-base-image:20-bookworm .
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
Loading…
Reference in a new issue