Fix users permissions

This commit is contained in:
uazo
2021-08-03 15:26:16 +00:00
parent 5eb7a2fc0f
commit 228297a813
8 changed files with 83 additions and 19 deletions

View File

@@ -7,15 +7,23 @@ USER lg
COPY buildbox-worker .
COPY buildbox-run-hosttools .
RUN HTTP_PROXY= &&\
HTTPS_PROXY= &&\
http_proxy= &&\
https_proxy= &&\
sudo rm /etc/apt/apt.conf.d/proxy.conf
RUN sudo apt-get -f -y install libgoogle-glog-dev libprotobuf17 libgrpc++1 &&\
sudo chmod +x buildbox-worker &&\
sudo chmod +x buildbox-run-hosttools
USER root
CMD PATH=.:$PATH &&\
./buildbox-worker \
--instance=default_instance \
--bots-remote=unix:/wrk-cache/bots.sock \
--stop-after=50 \
--stop-after=50 \
--bots-retry-limit=5 \
--buildbox-run=buildbox-run-hosttools \
--cas-remote=unix:/wrk-cache/casd.sock \