33 lines
712 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
2022-10-17 17:42:54 +02:00
ARG HTTP_PROXY
ENV HTTP_PROXY=$HTTP_PROXY
2022-10-17 17:51:05 +02:00
ENV HTTPS_PROXY=$HTTP_PROXY
ENV https_proxy=$HTTP_PROXY
2022-10-17 17:42:54 +02:00
2021-07-12 07:52:31 +02:00
#USER lg
WORKDIR /home/lg/working_dir
2021-06-19 09:46:24 +00:00
2022-10-17 18:02:31 +02:00
RUN sudo chown lg /etc/apt/apt.conf.d/proxy.conf
RUN sudo echo "Acquire::http::Proxy \"$HTTP_PROXY\";" >/etc/apt/apt.conf.d/proxy.conf
RUN sudo apt-get update
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