-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (21 loc) · 859 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ruby:2.1
MAINTAINER Jean-Christophe Fillion-Robin "jchris.fillionr@kitware.com"
RUN apt-get update \
&& apt-get install -y --no-install-recommends runit \
&& rm -rf /var/lib/apt/lists/*
RUN gem install kwalify
ENTRYPOINT ["/usr/share/entrypoint.sh", "kwalify"]
COPY imagefiles/entrypoint.sh /usr/share/
WORKDIR /work
# Build-time metadata as defined at http://label-schema.org
ARG BUILD_DATE
ARG IMAGE
ARG VCS_REF
ARG VCS_URL
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name=$IMAGE \
org.label-schema.description="Dockerized version of kwalify: Parser, schema validator, and data binding tool for YAML and JSON." \
org.label-schema.url="https://github.com/jcfr/dock-kwalify" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.schema-version="1.0"