Skip to content

Commit

Permalink
add ENV disableOas31Resolve to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Jan 21, 2023
1 parent 8f191f4 commit f5f11b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/swagger-generator/Dockerfile
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion modules/swagger-generator/Dockerfile_minimal
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
1 change: 1 addition & 0 deletions modules/swagger-generator/Dockerfile_root
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down

0 comments on commit f5f11b3

Please sign in to comment.