This commit is contained in:
Crizomb 2025-12-23 16:46:14 +01:00
commit 39659b6fd2
5 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# Debian13-slim, with node (requiered for some forgejo actions)
FROM debian:13-slim
ENV NODE_VERSION=20
RUN apt-get update && apt-get install -y \
curl ca-certificates gnupg git openssh-client \
&& curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Sanity check (fail build early)
RUN node --version && npm --version && git --version
CMD ["bash"]

2
BaseCommonImage/build.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
podman build -t base_cicd:node20-deb13 .