sharenet/ci/Dockerfile.ci-git-node-podman
continuist 56526f1e52
Some checks failed
CI/CD Pipeline with Direct Podman Access / test-backend (push) Failing after 1s
Podman Rootless Demo / test-rootless (push) Failing after 10s
Update Dockerfile
2025-09-18 21:03:59 -04:00

17 lines
448 B
Text

FROM alpine:3.20
# Node 20 + git + podman + tini + bash
RUN apk add --no-cache nodejs-current npm git podman ca-certificates tini bash
# Non-root user 1001:1001 to match your setup
RUN addgroup -g 1001 ci \
&& adduser -D -u 1001 -G ci -h /home/ci ci \
&& mkdir -p /home/ci/.config && chown -R 1001:1001 /home/ci
ENV HOME=/home/ci SHELL=/bin/bash
USER 1001:1001
WORKDIR /workspace
ENTRYPOINT ["/sbin/tini","--"]
CMD ["tail","-f","/dev/null"]