19 lines
294 B
Docker
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"]
|