summaryrefslogtreecommitdiffhomepage
path: root/cloudbuild/html-proofer/Dockerfile
blob: 1f692c7df9213719609f782bd3c3f8ec444d41ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ruby:2.4-alpine

LABEL MAINTAINER="ianlewis@google.com"

ARG HTMLPROOFER_VERSION

RUN set -x \
        && apk add --no-cache \
            build-base \
            ca-certificates \
            curl \
            wget \
            libcurl \
            libxml2-dev \
            libxslt-dev \
            openssh \
        && gem install \
            html-proofer:${HTMLPROOFER_VERSION} \
            nokogiri:1.10.1 \
        --no-document

CMD ["htmlproofer"]