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}"