groovy/docker-groovy

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

docker-groovy

Supported tags and respective Dockerfile links
What is Groovy?

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.

How to use this image

Note that if you are mounting a volume and the uid running Docker is not 1000, you should run as user root (-u root).

Starting Groovysh

docker run -it --rm groovy:latest

Running a Groovy script

docker run --rm -v "$PWD":/home/groovy/scripts -w /home/groovy/scripts groovy:latest groovy <script> <script-args>

Reusing the Grapes cache

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
Instructions for a new Groovy release
  1. Change ENV GROOVY_VERSION in all Dockerfiles to new version number.
  2. Update .travis.yml.
  3. Update official-images (and docs if appropriate).

Note: Java 9 support is experimental


Travis Build Status


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.