24 lines
453 B
Docker
Raw Normal View History

2021-06-19 09:46:24 +00:00
ARG VERSION
2021-06-30 12:44:14 +00:00
FROM uazo/chromium:$VERSION
2021-07-07 15:25:56 +02:00
ARG BROMITE_SHA
2021-07-08 12:58:14 +02:00
ENV BROMITE_SHA=$BROMITE_SHA
2021-06-19 09:46:24 +00:00
2021-07-12 07:52:31 +02:00
#USER lg
WORKDIR /home/lg/working_dir
2021-06-19 09:46:24 +00:00
2021-07-10 08:03:41 +02:00
COPY apply-bromite-patches.sh .
RUN sudo chmod +x ./apply-bromite-patches.sh && \
mkdir bromite && \
2021-07-07 15:25:56 +02:00
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 07:40:35 +02:00
cd ..
RUN ./apply-bromite-patches.sh
2021-06-19 09:46:24 +00:00