From 5b561eef266788df08ce0c77ee2371da007d7038 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 7 Jul 2021 15:25:56 +0200 Subject: [PATCH] Update Dockerfile --- images/bromite-source/Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/images/bromite-source/Dockerfile b/images/bromite-source/Dockerfile index d3e2bb5..a97f378 100644 --- a/images/bromite-source/Dockerfile +++ b/images/bromite-source/Dockerfile @@ -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