Update Dockerfile
This commit is contained in:
parent
8505561a95
commit
5b561eef26
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user