2019-01-07 16:28:03 +00:00
|
|
|
FROM alpine:3.8
|
2018-07-12 16:26:03 +00:00
|
|
|
|
|
|
|
RUN apk --no-cache --no-progress add \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
findutils \
|
|
|
|
ruby-bigdecimal \
|
2019-01-07 16:28:03 +00:00
|
|
|
ruby-etc \
|
2018-07-12 16:26:03 +00:00
|
|
|
ruby-ffi \
|
|
|
|
ruby-json \
|
2019-01-07 16:28:03 +00:00
|
|
|
ruby-nokogiri=1.8.3-r0 \
|
2018-07-12 16:26:03 +00:00
|
|
|
tini \
|
2019-01-07 16:28:03 +00:00
|
|
|
&& gem install --no-document html-proofer -v 3.9.3
|
2018-07-12 16:26:03 +00:00
|
|
|
|
|
|
|
COPY ./validate.sh /validate.sh
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
VOLUME ["/tmp","/app"]
|
|
|
|
|
|
|
|
ENTRYPOINT ["/sbin/tini","-g","sh"]
|
|
|
|
CMD ["/validate.sh"]
|