traefik/script/docs-verify-docker-image/Dockerfile

22 lines
394 B
Text
Raw Normal View History

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