summaryrefslogtreecommitdiffhomepage
path: root/cloudbuild/html-proofer
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
committerIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
commit22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch)
tree110ec3a84a72560244ee4476852295b86a737eb0 /cloudbuild/html-proofer
Initial commit
Diffstat (limited to 'cloudbuild/html-proofer')
-rw-r--r--cloudbuild/html-proofer/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/cloudbuild/html-proofer/Dockerfile b/cloudbuild/html-proofer/Dockerfile
new file mode 100644
index 000000000..fee64111f
--- /dev/null
+++ b/cloudbuild/html-proofer/Dockerfile
@@ -0,0 +1,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"]
+