[JAVA] Docker Gradle Quick Reference Japanese Translation

Japanese translation of Docker Hub Gradle Official Image Description.

What is Gradle?

Gradle is a build tool with a focus on build automation and support for multilingual development. When building, testing, publishing, and deploying software on any platform, Gradle provides a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing a website. Gradle is designed to support build automation across multiple languages and platforms such as Java, Scala, Android, C / C ++, Groovy, and works closely with development tools such as Eclipse, IntelliJ, Jenkins and continuous integration servers. It is integrated.

How to use this image

Build a Gradle project

From the Gradle project directory you want to build, do the following:

docker run --rm -u gradle -v "$PWD":/home/gradle/project -w /home/gradle/project gradle gradle <gradle-task>

Note that the above command is run using uid / gid 1000 (user gradle) to avoid running as root. If you have the volume mounted and the uid / gid running Docker is not 1000, you must run it as user root ( -u root). Since root is also the default, you can simply not specify a user.


View license information for the software contained in this image. Like all Docker images, these are direct or indirect dependencies of other software that may be under other licenses (such as Bash in the base distribution) of the included premium software. Relationship) may also be included. Some additional license information that could be auto-discovered may be in the gradle / directory of the repo-info repository. With respect to the use of pre-built images, it is the image user's responsibility to ensure that the use of this image complies with the licenses associated with all the software contained therein.

Recommended Posts

Docker Gradle Quick Reference Japanese Translation
Gradle Japanese translation
gradle tasks Japanese translation
Docker Desktop WSL 2 backend Japanese translation
[Introduction to Docker] Official Tutorial (Japanese translation)
settings.gradle Japanese translation
build.gradle Japanese translation
Quick docker / nginx
Official tutorial to learn Docker systematically Japanese translation
Java Quickstart Japanese translation
Column type quick reference table
Spring + Gradle + Java Quick Start
Using Docker from Java Gradle