在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):keeganwitt/docker-gradle开源软件地址(OpenSource Url):https://github.com/keeganwitt/docker-gradle开源编程语言(OpenSource Language):Dockerfile 84.8%开源软件介绍(OpenSource Introduction):docker-gradleSupported tags and respective Dockerfile links
What is Gradle?Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. How to use this imageIf you are mounting a volume and the uid/gid running Docker is not 1000, you should run as user root ( Building a Gradle projectRun this from the directory of the Gradle project you want to build. Bash/Zsh
PowerShell
Windows CMD
Note the above command runs using uid/gid 1000 (user gradle) to avoid running as root. Reusing the Gradle cacheThe local Gradle cache can be reused across containers by creating a volume and mounting it to /home/gradle/.gradle. Note that sharing between concurrently running containers doesn't work currently (see #851). Also, currently it's not possible to override the volume declaration of the parent.
So if you are using this image as a base image and want the Gradle cache to be written into the next layer, you will need to use a new user (or use the
Instructions for a new Gradle release
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论