experiment: Create generic node build image
All checks were successful
/ ipv6 (push) Successful in 40s

This commit is contained in:
Magnus Leßmann (@MarkL4YG) 2025-01-09 18:58:29 +01:00
parent 2734880100
commit 6a062cb480
Signed by: Mark.TwoFive
GPG key ID: E906A79D91006ECD
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,21 @@
on:
schedule:
- cron: 6 6 * * *
workflow_dispatch:
jobs:
cleanup_podman:
runs_on: ubuntu-24.04
steps:
- run: podman system prune -a -f
build-node:
runs_on: ubuntu-24.04
depends_on:
- cleanup_podman
steps:
- uses: actions/checkout@v4
with:
lfs: true
- run: cd images/node/22 && podman build . -t internal__node:22

View file

@ -0,0 +1,8 @@
FROM docker.io/library/node:22
USER root
RUN apt-get --no-cache update && apt-get --no-cache install -y \
git git-lfs \
RUN curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=10.0.0 sh -
USER node