bromite-buildtools/images/bromite-source/Dockerfile

29 lines
552 B
Docker
Raw Normal View History

2021-06-19 15:16:24 +05:30
ARG VERSION
2021-06-30 18:14:14 +05:30
FROM uazo/chromium:$VERSION
2021-07-07 18:55:56 +05:30
ARG BROMITE_SHA
2021-07-08 16:28:14 +05:30
ENV BROMITE_SHA=$BROMITE_SHA
2021-06-19 15:16:24 +05:30
2022-10-17 21:12:54 +05:30
ARG HTTP_PROXY
ENV HTTP_PROXY=$HTTP_PROXY
2022-10-17 21:21:05 +05:30
ENV HTTPS_PROXY=$HTTP_PROXY
ENV https_proxy=$HTTP_PROXY
2022-10-17 21:12:54 +05:30
2021-07-12 11:22:31 +05:30
#USER lg
WORKDIR /home/lg/working_dir
2021-06-19 15:16:24 +05:30
2021-07-10 11:33:41 +05:30
COPY apply-bromite-patches.sh .
RUN sudo chmod +x ./apply-bromite-patches.sh && \
mkdir bromite && \
2021-07-07 18:55:56 +05:30
cd bromite && \
git init && \
git remote add origin https://github.com/uazo/bromite && \
git fetch origin $BROMITE_SHA && \
git reset --hard FETCH_HEAD && \
2021-07-10 11:10:35 +05:30
cd ..
RUN ./apply-bromite-patches.sh
2021-06-19 15:16:24 +05:30