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
|
|
|
|
ENV BROMITE_SHA=$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-06-19 15:16:24 +05:30
|
|
|
./apply-bromite-patches.sh
|
|
|
|
|