Skip to content

Commit

Permalink
Updated Chromedriver to 2.28 and added SHA256 signature verification
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-adams committed Mar 28, 2017
1 parent 4c6de5e commit c385c25
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion images/python2-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ RUN apt-get update && apt-get install -y \

RUN pip install pytest selenium

ENV CHROMEDRIVER_VERSION 2.26
ENV CHROMEDRIVER_VERSION 2.28
ENV CHROMEDRIVER_SHA256 8f5b0ab727c326a2f7887f08e4f577cb4452a9e5783d1938728946a8557a37bc

RUN curl -SLO "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" \
&& echo "$CHROMEDRIVER_SHA256 chromedriver_linux64.zip" | sha256sum -c - \
&& unzip "chromedriver_linux64.zip" -d /usr/local/bin \
&& rm "chromedriver_linux64.zip"

Expand Down
4 changes: 3 additions & 1 deletion images/python2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ RUN apt-get update && apt-get install -y \

RUN pip install pytest selenium

ENV CHROMEDRIVER_VERSION 2.26
ENV CHROMEDRIVER_VERSION 2.28
ENV CHROMEDRIVER_HASH 8f5b0ab727c326a2f7887f08e4f577cb4452a9e5783d1938728946a8557a37bc

RUN curl -SLO "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" \

&& unzip "chromedriver_linux64.zip" -d /usr/local/bin \
&& rm "chromedriver_linux64.zip"

Expand Down
4 changes: 3 additions & 1 deletion images/python3-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ RUN apt-get update && apt-get install -y \

RUN pip3 install pytest selenium

ENV CHROMEDRIVER_VERSION 2.26
ENV CHROMEDRIVER_VERSION 2.28
ENV CHROMEDRIVER_SHA256 8f5b0ab727c326a2f7887f08e4f577cb4452a9e5783d1938728946a8557a37bc

RUN curl -SLO "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" \
&& echo "$CHROMEDRIVER_SHA256 chromedriver_linux64.zip" | sha256sum -c - \
&& unzip "chromedriver_linux64.zip" -d /usr/local/bin \
&& rm "chromedriver_linux64.zip"

Expand Down
4 changes: 3 additions & 1 deletion images/python3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ RUN apt-get update && apt-get install -y \

RUN pip3 install pytest selenium

ENV CHROMEDRIVER_VERSION 2.26
ENV CHROMEDRIVER_VERSION 2.28
ENV CHROMEDRIVER_SHA256 8f5b0ab727c326a2f7887f08e4f577cb4452a9e5783d1938728946a8557a37bc

RUN curl -SLO "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" \
&& echo "$CHROMEDRIVER_SHA256 chromedriver_linux64.zip" | sha256sum -c - \
&& unzip "chromedriver_linux64.zip" -d /usr/local/bin \
&& rm "chromedriver_linux64.zip"

Expand Down

0 comments on commit c385c25

Please sign in to comment.