bromite-buildtools/images/bromite-build/Dockerfile
2021-08-15 13:36:10 +02:00

24 lines
397 B
Docker

ARG BROMITE_SHA
FROM uazo/bromite:$BROMITE_SHA
USER lg
WORKDIR /home/lg/working_dir
COPY pre-start.sh .
COPY start-build.sh .
COPY goma_auth.py .
COPY casupload .
COPY build_args.gni .
ENV CIPD_CACHE_DIR=/home/lg/working_dir/.cipd_cache
RUN sudo chmod +x ./start-build.sh \
&& \
sudo chmod +x ./pre-start.sh \
&& \
sudo chmod 775 ./goma_auth.py \
&& \
./pre-start.sh