Initial commit

This commit is contained in:
teutat3s 2023-12-13 01:50:24 +01:00
parent affc8c8139
commit b6da5e6eb0
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 21 additions and 1 deletions

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM node:20-bookworm
RUN useradd --create-home --shell /bin/bash --groups sudo ci
RUN apt-get update && apt-get install -y jq sudo zstd
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER ci
WORKDIR /home/ci

View file

@ -1,2 +1,14 @@
# actions-base-image # Forgejo actions base image
Docker image with all dependencies installed, configured to be as close to
GitHub actions as possible.
Built and tagged on flora-6 with:
```
docker build --tag node:20-bookworm .
```
Uses a `ci` user with passwordless sudo to enable nix single-user install.
See this [GH issue](https://github.com/NixOS/nix/issues/1559) for additional context.