Corp/ops/runner/Dockerfile
Игорь Надеин e3c677dda0
Some checks failed
Deploy production / deploy (push) Failing after 9m4s
Fix non-root runner SSH identity and verify image prerequisites
2026-09-10 17:06:11 +03:00

11 lines
341 B
Docker

FROM robotail/gitea-light-runner:0.2.13
USER root
# OpenSSH resolves the calling UID through /etc/passwd, even when a key and
# remote username are explicit. A numeric Compose user alone is insufficient.
RUN addgroup -g 10001 runner \
&& adduser -D -H -u 10001 -G runner -h /work -s /sbin/nologin runner
USER 10001:10001
WORKDIR /work