2021-07-10 09:27:09 +02:00
|
|
|
ARG BROMITE_SHA
|
2023-03-08 17:51:57 +09:00
|
|
|
ARG VERSION
|
2021-06-19 09:46:24 +00:00
|
|
|
|
2023-03-08 17:51:57 +09:00
|
|
|
FROM uazo/bromite:$VERSION-$BROMITE_SHA
|
2021-06-19 09:46:24 +00:00
|
|
|
|
2022-10-17 17:52:04 +02:00
|
|
|
ARG HTTP_PROXY
|
|
|
|
ENV HTTP_PROXY=$HTTP_PROXY
|
|
|
|
ENV HTTPS_PROXY=$HTTP_PROXY
|
|
|
|
ENV https_proxy=$HTTP_PROXY
|
|
|
|
|
2021-07-12 20:35:56 +02:00
|
|
|
USER lg
|
2021-07-12 07:52:47 +02:00
|
|
|
WORKDIR /home/lg/working_dir
|
2021-06-19 09:46:24 +00:00
|
|
|
|
|
|
|
COPY pre-start.sh .
|
|
|
|
COPY start-build.sh .
|
|
|
|
COPY goma_auth.py .
|
|
|
|
COPY casupload .
|
2021-06-30 12:44:14 +00:00
|
|
|
COPY build_args.gni .
|
2021-06-19 09:46:24 +00:00
|
|
|
|
2021-08-17 09:41:16 +00:00
|
|
|
COPY generic_android31.textpb .
|
|
|
|
|
2021-08-15 13:36:10 +02:00
|
|
|
ENV CIPD_CACHE_DIR=/home/lg/working_dir/.cipd_cache
|
2021-08-27 11:23:12 +02:00
|
|
|
ENV VPYTHON_VIRTUALENV_ROOT=/home/lg/vpython_root
|
2021-08-15 13:36:10 +02:00
|
|
|
|
2021-06-19 09:46:24 +00:00
|
|
|
RUN sudo chmod +x ./start-build.sh \
|
|
|
|
&& \
|
|
|
|
sudo chmod +x ./pre-start.sh \
|
|
|
|
&& \
|
2021-07-30 09:45:18 +02:00
|
|
|
sudo chmod 775 ./goma_auth.py \
|
|
|
|
&& \
|
|
|
|
./pre-start.sh
|
2021-06-19 09:46:24 +00:00
|
|
|
|