forgejo-runner-dind/Dockerfile
royalcat 48fdb033f8
All checks were successful
docker / build-docker (push) Successful in 1m22s
fix
2024-03-31 14:30:22 +03:00

16 lines
No EOL
320 B
Docker

FROM code.forgejo.org/forgejo/runner:3.4.1 AS runner
FROM docker:26-dind
RUN apk add --no-cache git bash
COPY --from=runner /bin/forgejo-runner /bin/forgejo-runner
COPY entrypoint.sh /usr/local/bin
RUN chmod +x /usr/local/bin/entrypoint.sh
ENV HOME=/data
WORKDIR /data
VOLUME ["/data"]
ENTRYPOINT ["entrypoint.sh"]