FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
openapi-generator/Dockerfile at master · runningcode/openapi-generator · GitHub
runningcode
/
openapi-generator
Public
forked from
OpenAPITools/openapi-generator
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
openapi-generator
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (23 loc) · 1.26 KB
Breadcrumbs
openapi-generator
/
Dockerfile
Copy path
File metadata and controls
31 lines (23 loc) · 1.26 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM
maven:3.6.3-jdk-11-openj9
ENV
GEN_DIR /opt/openapi-generator
WORKDIR
${GEN_DIR}
VOLUME
${MAVEN_HOME}/.m2/repository
#
Required from a licensing standpoint
COPY
./LICENSE ${GEN_DIR}
#
Required to compile openapi-generator
COPY
./google_checkstyle.xml ${GEN_DIR}
#
Modules are copied individually here to allow for caching of docker layers between major.minor versions
COPY
./modules/openapi-generator-gradle-plugin ${GEN_DIR}/modules/openapi-generator-gradle-plugin
COPY
./modules/openapi-generator-maven-plugin ${GEN_DIR}/modules/openapi-generator-maven-plugin
COPY
./modules/openapi-generator-online ${GEN_DIR}/modules/openapi-generator-online
COPY
./modules/openapi-generator-cli ${GEN_DIR}/modules/openapi-generator-cli
COPY
./modules/openapi-generator-core ${GEN_DIR}/modules/openapi-generator-core
COPY
./modules/openapi-generator ${GEN_DIR}/modules/openapi-generator
COPY
./pom.xml ${GEN_DIR}
#
Pre-compile openapi-generator-cli
RUN
mvn -am -pl
"modules/openapi-generator-cli"
package
#
This exists at the end of the file to benefit from cached layers when modifying docker-entrypoint.sh.
COPY
docker-entrypoint.sh /usr/local/bin/
RUN
ln -s /usr/local/bin/docker-entrypoint.sh /usr/local/bin/openapi-generator
ENTRYPOINT
[
"/usr/local/bin/docker-entrypoint.sh"
]
CMD
[
"help"
]
Back
|
FazBrowse Home
|
New Git URL