Skip to content
Snippets Groups Projects
Verified Commit e3c80693 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

PDF link checker multi arch.

parent 483c750a
Branches
No related tags found
No related merge requests found
Pipeline #24869 passed
FROM dbogatov/docker-sources:pdf-link-checker-latest
FROM dbogatov/docker-sources:node--17-alpine-multi-arch AS node
FROM dbogatov/docker-sources:python--2.7-alpine-multi-arch
COPY --from=node /usr/lib /usr/lib
COPY --from=node /usr/local/share /usr/local/share
COPY --from=node /usr/local/lib /usr/local/lib
COPY --from=node /usr/local/include /usr/local/include
COPY --from=node /usr/local/bin /usr/local/bin
RUN node -v
RUN npm -v
LABEL maintainer="Dmytro Bogatov <dmytro@dbogatov.org>"
COPY checker.py /
ENV PYTHONWARNINGS "ignore"
ENV ALPINE_MIRROR "http://dl-cdn.alpinelinux.org/alpine"
RUN echo "${ALPINE_MIRROR}/edge/main" >> /etc/apk/repositories
RUN apk add --no-cache nodejs-current npm --repository="http://dl-cdn.alpinelinux.org/alpine/edge/community"
RUN apk add --no-cache bash gcc libc-dev --repository="http://dl-cdn.alpinelinux.org/alpine/edge/community"
# nodejs-current npm
RUN npm install -g broken-links-inspector
RUN pip install pdfminer.six
COPY checker.py /
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment