15 lines
453 B
Docker
15 lines
453 B
Docker
# 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"]
|
|
|