FROM rust:1.79 COPY worker-setup.sh worker-setup.sh RUN bash worker-setup.sh USER buildbot WORKDIR /buildbot COPY worker-setup-user.sh worker-setup-user.sh RUN bash worker-setup-user.sh COPY buildbot.tac /buildbot/buildbot.tac RUN cargo install mdbook CMD ["/usr/bin/dumb-init", "/buildbot/venv/bin/twistd", "--pidfile=", "-ny", "buildbot.tac"]