Dockerfile 425 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
# Copyright ETSI 2017
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt

FROM alpine:3.6

RUN apk update
RUN apk add bash
RUN apk add nodejs
RUN apk add nodejs-npm
RUN npm install -g swagger-tools@0.10.3
RUN npm install -g json-refs@3.0.2
12
RUN npm install -g yamljs@0.3.0
13
14
15
16
17

ADD validate-in-docker.sh /validate-in-docker.sh
RUN chmod +x /validate-in-docker.sh

CMD ["/validate-in-docker.sh", "/work", "/storage"]