mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-18 19:41:06 +00:00
Install from GitHub master.zip in Dockerfile
Saves installing git and dependencies.
This commit is contained in:
parent
3723a3ac7a
commit
630401f998
1 changed files with 1 additions and 6 deletions
|
|
@ -4,12 +4,7 @@ FROM python:3-slim
|
|||
ENV HOME /tmp
|
||||
|
||||
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/linkchecker/linkchecker.git@master \
|
||||
&& apt-get -y -qq purge git \
|
||||
&& apt-get autoremove -y -qq \
|
||||
&& apt-get clean -y -qq all \
|
||||
&& pip install --no-cache-dir https://github.com/linkchecker/linkchecker/archive/master.zip \
|
||||
&& 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue