Fix Dockerfile to be able to test swagger spec 62/10062/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 2 Dec 2020 09:06:44 +0000 (09:06 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 20 Jan 2021 09:49:33 +0000 (10:49 +0100)
Change-Id: I4b42de41a5d03d6e8627f33e84a5dd810aff6a24
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Dockerfile

index 2760e73..8cc0a7d 100644 (file)
@@ -18,6 +18,8 @@
 FROM ubuntu:18.04
 
 RUN apt-get update && apt-get install -y git build-essential nodejs npm
 FROM ubuntu:18.04
 
 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
 
 RUN npm install -g swagger-cli
 RUN npm install -g speccy