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
|
|
|
|
|
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
|
|
|
|