experiment: Create generic node build image
All checks were successful
/ ipv6 (push) Successful in 40s
All checks were successful
/ ipv6 (push) Successful in 40s
This commit is contained in:
parent
2734880100
commit
6a062cb480
2 changed files with 29 additions and 0 deletions
21
.forgejo/workflows/build-tools.yml
Normal file
21
.forgejo/workflows/build-tools.yml
Normal 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
|
8
images/node/22/Dockerfile
Normal file
8
images/node/22/Dockerfile
Normal 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
|
Loading…
Add table
Reference in a new issue