mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-23 01:10:27 +00:00
/var/lib/apt, /usr/share/locale, /usr/share/man are now empty. /usr/share/doc is almost empty and populated by the base image.
14 lines
378 B
Docker
14 lines
378 B
Docker
FROM python:3-slim
|
|
|
|
# needed to allow linkchecker create plugin directory and initial configuration file in "home" dir
|
|
ENV HOME /tmp
|
|
|
|
RUN set -x \
|
|
&& pip install --no-cache-dir https://github.com/linkchecker/linkchecker/archive/master.zip
|
|
|
|
# /mnt enables linkchecker to access to access files on local machine if needed
|
|
VOLUME /mnt
|
|
|
|
WORKDIR /mnt
|
|
|
|
ENTRYPOINT ["linkchecker"]
|