Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 8373467

Browse files
authored
Updates dockerfile (#249)
1 parent d63ab6f commit 8373467

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ COPY ./LICENSE ${GEN_DIR}
88
# copies source code in for jar packaging
99
COPY ./src ${GEN_DIR}/src
1010
COPY ./pom.xml ${GEN_DIR}
11+
# Remove symlinks
12+
RUN rm -rf src/test/resources/3_0/unit_test_spec/venv
13+
RUN rm -rf src/test/resources/JSON-Schema-Test-Suite/tests/latest
1114
# Pre-compile openapi-generator-cli
1215
RUN mvn -am -pl . package
13-
# # Remove src + samples dirs
14-
RUN rm -rf src
15-
RUN rm -rf samples
1616

1717
# multi stage build, jar in smaller image
1818
FROM openjdk:11.0-jre-buster

0 commit comments

Comments
 (0)