forgejo-runner-dind/Dockerfile
royalcat 5091ba45e9
All checks were successful
docker / build-docker (push) Successful in 1m36s
init
2024-03-31 13:41:45 +03:00

19 lines
294 B
Docker

FROM code.forgejo.org/forgejo/runner:3.4.1 AS runner
FROM docker:26-dind-rootless
USER root
RUN apk add --no-cache git bash
USER rootless
COPY --from=runner /bin/forgejo-runner /bin/forgejo-runner
ENV HOME=/data
USER 1000:1000
WORKDIR /data
VOLUME ["/data"]
CMD ["/bin/forgejo-runner"]