You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get the docker container to build, I had to add curl and libnet-ssleay-perl to the list of packages in the Dockerfile, and also cpanm IO::Socket::SSL to the second RUN block. This is what eventually worked:
FROM ubuntu
MAINTAINER Sergiy Tupchiy <[email protected]>
# Install dependencies required for link-checker distribution installation
RUN apt-get update && apt-get install -y \
cpanminus \
make \
build-essential \
libssl-dev \
curl \
libnet-ssleay-perl \
&& rm -rf /var/lib/apt/lists/*
ENV CHECKLINK_VERSION 4_81
ARG CHECKLINK_URL=https://github.com/w3c/link-checker/archive/checklink-${CHECKLINK_VERSION}.tar.gz
RUN set -x \
&& curl -sSL ${CHECKLINK_URL} -o /tmp/link-checker.tar.gz \
&& mkdir -p /usr/src \
&& tar -xzf /tmp/link-checker.tar.gz -C /usr/src \
&& rm /tmp/link-checker.tar.gz \
&& cd /usr/src/link-checker-checklink-${CHECKLINK_VERSION} \
&& cpanm --installdeps . \
&& cpanm IO::Socket::SSL \
&& cpanm LWP::Protocol::https \
&& perl Makefile.PL \
&& make \
&& make test \
&& make install \
&& rm -rf /usr/src/link-checker-checklink-${CHECKLINK_VERSION}
ENTRYPOINT ["/usr/local/bin/checklink"]
CMD ["-h"]
This is running on an Ubuntu 20.04 host, with Docker version 19.03.6, build 369ce74a3c.
The text was updated successfully, but these errors were encountered:
To get the docker container to build, I had to add curl and libnet-ssleay-perl to the list of packages in the Dockerfile, and also cpanm IO::Socket::SSL to the second RUN block. This is what eventually worked:
This is running on an Ubuntu 20.04 host, with Docker version 19.03.6, build 369ce74a3c.
The text was updated successfully, but these errors were encountered: