From f5f11b35c82c70f044f8bdebbcf4c5cd330c4fdf Mon Sep 17 00:00:00 2001 From: frantuma Date: Sat, 21 Jan 2023 10:23:24 +0100 Subject: [PATCH] add ENV disableOas31Resolve to dockerfile --- modules/swagger-generator/Dockerfile | 1 + modules/swagger-generator/Dockerfile_minimal | 2 +- modules/swagger-generator/Dockerfile_root | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/swagger-generator/Dockerfile b/modules/swagger-generator/Dockerfile index 59e5c6c6538..ada5d8aad17 100644 --- a/modules/swagger-generator/Dockerfile +++ b/modules/swagger-generator/Dockerfile @@ -1,4 +1,5 @@ FROM ubuntu:22.04 +ENV disableOas31Resolve=False ENV JAVA_HOME=/opt/java/openjdk COPY --from=eclipse-temurin:8u322-b06-jre $JAVA_HOME $JAVA_HOME ENV PATH="${JAVA_HOME}/bin:${PATH}" diff --git a/modules/swagger-generator/Dockerfile_minimal b/modules/swagger-generator/Dockerfile_minimal index 16f9f4e9fd2..115835f9d64 100644 --- a/modules/swagger-generator/Dockerfile_minimal +++ b/modules/swagger-generator/Dockerfile_minimal @@ -1,5 +1,5 @@ FROM openjdk:8-jre-alpine - +ENV disableOas31Resolve=False WORKDIR /generator RUN mkdir /generator/lib COPY src/main/resources/inflector.yaml /generator/ diff --git a/modules/swagger-generator/Dockerfile_root b/modules/swagger-generator/Dockerfile_root index f59712e0251..8fe58b253e2 100644 --- a/modules/swagger-generator/Dockerfile_root +++ b/modules/swagger-generator/Dockerfile_root @@ -1,4 +1,5 @@ FROM ubuntu:22.04 +ENV disableOas31Resolve=False ENV JAVA_HOME=/opt/java/openjdk COPY --from=eclipse-temurin:8u322-b06-jre $JAVA_HOME $JAVA_HOME ENV PATH="${JAVA_HOME}/bin:${PATH}"