Name: docker-groovy
Owner: Groovy programming language
Description: Docker images with Groovy
Created: 2016-12-11 05:50:51.0
Updated: 2018-05-12 00:13:43.0
Pushed: 2018-05-12 00:47:42.0
Homepage: https://hub.docker.com/_/groovy/
Size: 170
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax. It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.
Note that if you are mounting a volume and the uid running Docker is not 1000, you should run as user root (-u root
).
docker run -it --rm groovy:latest
docker run --rm -v "$PWD":/home/groovy/scripts -w /home/groovy/scripts groovy:latest groovy <script> <script-args>
The local Grapes cache can be reused across containers by creating a volume and mounting it in /home/groovy/.groovy/grapes.
er volume create --name grapes-cache
er run --rm -it -v grapes-cache:/home/groovy/.groovy/grapes groovy:latest
ENV GROOVY_VERSION
in all Dockerfiles to new version number.Note: Java 9 support is experimental