bromite-buildtools/images/buildboxrunner/Dockerfile

35 lines
891 B
Docker
Raw Normal View History

2021-06-19 15:16:24 +05:30
ARG VERSION
2021-06-29 19:20:31 +05:30
FROM uazo/build-deps:$VERSION
2021-06-19 15:16:24 +05:30
ENV DEBIAN_FRONTEND=noninteractive
USER lg
COPY buildbox-worker .
COPY buildbox-run-hosttools .
2021-08-03 20:56:16 +05:30
RUN HTTP_PROXY= &&\
HTTPS_PROXY= &&\
http_proxy= &&\
https_proxy= &&\
sudo rm /etc/apt/apt.conf.d/proxy.conf
2021-06-19 15:16:24 +05:30
RUN sudo apt-get -f -y install libgoogle-glog-dev libprotobuf17 libgrpc++1 &&\
sudo chmod +x buildbox-worker &&\
sudo chmod +x buildbox-run-hosttools
2021-08-03 20:56:16 +05:30
USER root
2021-06-19 15:16:24 +05:30
CMD PATH=.:$PATH &&\
./buildbox-worker \
--instance=default_instance \
2021-06-29 19:20:31 +05:30
--bots-remote=unix:/wrk-cache/bots.sock \
2021-08-03 20:56:16 +05:30
--stop-after=50 \
2021-06-29 19:20:31 +05:30
--bots-retry-limit=5 \
2021-06-19 15:16:24 +05:30
--buildbox-run=buildbox-run-hosttools \
--cas-remote=unix:/wrk-cache/casd.sock \
--logstream-remote=unix:/wrk-cache/casd.sock \
--cas-instance=default_instance \
2021-09-24 21:16:01 +05:30
--cas-retry-limit=10 \
--request-timeout=10 \
--verbose