Skip to content

Instantly share code, notes, and snippets.

@B-Galati
Created February 20, 2017 19:44
Show Gist options
  • Save B-Galati/a4575d023e34cc94f6efe4f50d4f0c4c to your computer and use it in GitHub Desktop.
Save B-Galati/a4575d023e34cc94f6efe4f50d4f0c4c to your computer and use it in GitHub Desktop.
FROM wernight/phantomjs:latest
USER root
WORKDIR /
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git
RUN git clone https://github.com/acdha/phantomjs-mixed-content-scan.git /opt/mixed-content-scanner/ \
&& ln -s /opt/mixed-content-scanner/report-mixed-content.js /scanner.js
RUN git clone https://gist.github.com/a43c2b45b138049b5831.git /opt/mixed-content-scanner2/ \
&& ln -s /opt/mixed-content-scanner2/crawluniq.js /scanner2.js
USER phantomjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment