bromite-buildtools/images/bromite-source/Dockerfile

23 lines
433 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
USER lg
COPY apply-bromite-patches.sh .
RUN sudo chmod +x ./apply-bromite-patches.sh \
&& \
2021-07-07 18:55:56 +05:30
mkdir bromite && \
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-08 14:46:44 +05:30
cd .. && \
2021-06-19 15:16:24 +05:30
./apply-bromite-patches.sh