forked from loafle/openapi-generator-original
Created a Dockerfile
This commit is contained in:
parent
aba755d3de
commit
80731633b4
47
.dockerignore
Normal file
47
.dockerignore
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
*.iml
|
||||||
|
out/
|
||||||
|
*.ipr
|
||||||
|
*.iws
|
||||||
|
classpath.txt
|
||||||
|
version.properties
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
lib/*
|
||||||
|
build/*
|
||||||
|
generated-files/*
|
||||||
|
generated-sources/*
|
||||||
|
generated-code/*
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
/target
|
||||||
|
/generated-files
|
||||||
|
/nbactions.xml
|
||||||
|
*.pyc
|
||||||
|
__pycache__
|
||||||
|
samples/server-generator/scalatra/output
|
||||||
|
samples/server-generator/node/output/node_modules
|
||||||
|
samples/server-generator/scalatra/target
|
||||||
|
samples/server-generator/scalatra/output/.history
|
||||||
|
samples/client/petstore/qt5cpp/PetStore/moc_*
|
||||||
|
samples/client/petstore/qt5cpp/PetStore/*.o
|
||||||
|
samples/client/petstore/objc/PetstoreClient.xcworkspace/xcuserdata
|
||||||
|
samples/client/petstore/qt5cpp/build-*
|
||||||
|
samples/client/petstore/qt5cpp/PetStore/PetStore
|
||||||
|
samples/client/petstore/qt5cpp/PetStore/Makefile
|
||||||
|
samples/client/petstore/java/hello.txt
|
||||||
|
samples/client/petstore/android-java/hello.txt
|
||||||
|
samples/client/petstore/objc/Build
|
||||||
|
samples/client/petstore/objc/Pods
|
||||||
|
samples/server/petstore/nodejs/node_modules
|
||||||
|
target
|
||||||
|
.idea
|
||||||
|
.lib
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
samples/client/petstore/php/SwaggerClient-php/composer.lock
|
||||||
|
samples/client/petstore/php/SwaggerClient-php/vendor/
|
||||||
|
|
||||||
|
samples/client/petstore/silex/SwaggerServer/composer.lock
|
||||||
|
samples/client/petstore/silex/SwaggerServer/venodr/
|
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
FROM maven:3.3-jdk-7
|
||||||
|
|
||||||
|
WORKDIR /src
|
||||||
|
VOLUME /src
|
||||||
|
VOLUME /root/.m2/repository
|
||||||
|
|
||||||
|
ADD . /opt/swagger-codegen
|
||||||
|
|
||||||
|
RUN cd /opt/swagger-codegen && mvn package
|
||||||
|
|
||||||
|
ENTRYPOINT ["java", "-jar", "/opt/swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"]
|
||||||
|
|
||||||
|
CMD ["help"]
|
Loading…
x
Reference in New Issue
Block a user