diff --git a/.forgejo/workflows/build-tools.yml b/.forgejo/workflows/build-tools.yml new file mode 100644 index 0000000..3fa77f4 --- /dev/null +++ b/.forgejo/workflows/build-tools.yml @@ -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 diff --git a/images/node/22/Dockerfile b/images/node/22/Dockerfile new file mode 100644 index 0000000..0d27248 --- /dev/null +++ b/images/node/22/Dockerfile @@ -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