buildbot/worker/Dockerfile
2023-08-05 12:11:14 +00:00

10 lines
289 B
Docker

FROM rust:1.65
COPY worker-setup.sh worker-setup.sh
RUN bash worker-setup.sh
USER buildbot
WORKDIR /buildbot
COPY buildbot.tac /buildbot/buildbot.tac
RUN rustup component add clippy
RUN rustup component add rustfmt
CMD ["/usr/bin/dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"]