forgejo-runner-dind/Dockerfile

16 lines
320 B
Text
Raw Permalink Normal View History

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