11 lines
322 B
Docker
11 lines
322 B
Docker
ARG RUST_VERSION=1.65
|
|
FROM rust:${RUST_VERSION}
|
|
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"]
|