Merge pull request #131 from ruzickap/feature/add_dockerfile

Adding Dockerfile
This commit is contained in:
anarcat 2018-03-23 17:30:52 -04:00 committed by GitHub
commit 547596ae85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:2
RUN set -x \
&& apt-get update -qq \
&& apt-get install -y -qq --no-install-recommends git \
&& pip install --no-cache-dir git+https://github.com/linkcheck/linkchecker.git@master \
&& apt-get -y -qq purge git \
&& apt-get autoremove -y -qq \
&& apt-get clean -y -qq all \
&& rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/locale /usr/share/man
# /mnt enables linkchecker to access to access files on local machine if needed
VOLUME /mnt
WORKDIR /mnt
ENTRYPOINT ["linkchecker"]