Fix Dockerfile to be able to test swagger spec
[osm/SOL005.git] / Dockerfile
index b740f2a..8cc0a7d 100644 (file)
@@ -17,7 +17,9 @@
 
 FROM ubuntu:18.04
 
-RUN apt-get update && apt-get install -y build-essential nodejs npm
+RUN apt-get update && apt-get install -y git build-essential nodejs npm
+RUN npm install -g npm@latest
+RUN npm install --save @openapi-contrib/json-schema-to-openapi-schema
 RUN npm install -g swagger-cli
 RUN npm install -g speccy