Update Dockerfile

This commit is contained in:
uazo 2021-07-07 15:25:56 +02:00 committed by GitHub
parent 8505561a95
commit 5b561eef26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,9 @@
ARG VERSION
FROM uazo/chromium:$VERSION
ARG VERSION
ENV VERSION=$VERSION
ARG BROMITE_SHA
ENV BROMITE_SHA=$SHA
USER lg
@ -10,7 +11,12 @@ COPY apply-bromite-patches.sh .
RUN sudo chmod +x ./apply-bromite-patches.sh \
&& \
git clone https://github.com/bromite/bromite \
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 && \
&& \
./apply-bromite-patches.sh