summaryrefslogtreecommitdiffhomepage
path: root/cloudbuild/html-proofer/Dockerfile
blob: fee64111f35d81d73a88c1f88011d9b3900bcac8 (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"]