在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):codefresh-contrib/gradle-sample-app开源软件地址(OpenSource Url):https://github.com/codefresh-contrib/gradle-sample-app开源编程语言(OpenSource Language):Java 50.5%开源软件介绍(OpenSource Introduction):Gradle Docker Codefresh exampleThis is an example Java application that uses Spring Boot 2, Gradle and Docker It is compiled using Codefresh. If you are looking for Maven, then see this example Create a multi-stage docker imageTo compile and package using Docker multi-stage builds docker build . -t my-app Create a Docker image packaging an existing jar./gradlew build
docker build . -t my-app -f Dockerfile.only-package To run the docker imagedocker run -p 8080:8080 my-app And then visit http://localhost:8080 in your browser. To use this project in CodefreshThere is also a codefresh.yml for easy usage with the Codefresh CI/CD platform. For the simple packaging pipeline see codefresh-package-only.yml More details can be found in Codefresh documentation |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论