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