v.0.0.0 initial

This commit is contained in:
tiijay
2026-09-16 12:54:30 +02:00
commit 3a21c4cdea
18 changed files with 2901 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
FROM node:20-slim
SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get install -y \
git \
curl \
sudo \
openssh-client \
&& rm -rf /var/lib/apt/lists/*
RUN echo "node ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/node-sudo \
&& chmod 0440 /etc/sudoers.d/node-sudo
# Pre-create workspace and node_modules with node user permissions
RUN mkdir -p /workspace/node_modules && chown -R node:node /workspace
WORKDIR /workspace
USER node
ARG GIT_USER_NAME
ARG GIT_USER_EMAIL
RUN git config --global user.name "${GIT_USER_NAME}" && \
git config --global user.email "${GIT_USER_EMAIL}"