# Supported tags and respective `Dockerfile` links - [`2.4.10-jdk7`, `2.4-jdk7`, `jdk7` (*jdk7/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jdk7/Dockerfile) - [`2.4.10-jre7`, `2.4-jre7`, `jre7` (*jre7/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jre7/Dockerfile) - [`2.4.10-jdk7-alpine`, `2.4-jdk7-alpine`, `jdk7-alpine` (*jdk7-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jdk7-alpine/Dockerfile) - [`2.4.10-jre7-alpine`, `2.4-jre7-alpine`, `jre7-alpine` (*jre7-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jre7-alpine/Dockerfile) - [`2.4.10-jdk8`, `2.4-jdk8`, `jdk8`, `2.4.10-jdk`, `2.4-jdk`, `jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jdk8/Dockerfile) - [`2.4.10-jre8`, `2.4-jre8`, `jre8`, `2.4.10-jre`, `2.4-jre`, `jre`, `2.4.10`, `2.4`, `latest` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jre8/Dockerfile) - [`2.4.10-jdk8-alpine`, `2.4-jdk8-alpine`, `jdk8-alpine`, `2.4.10-jdk-alpine`, `2.4-jdk-alpine`, `jdk-alpine` (*jdk8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jdk8-alpine/Dockerfile) - [`2.4.10-jre8-alpine`, `2.4-jre8-alpine`, `jre8-alpine`, `2.4.10-jre-alpine`, `2.4-jre-alpine`, `jre-alpine`, `2.4.10-alpine`, `2.4-alpine`, `alpine` (*jre8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jre8-alpine/Dockerfile) - [`2.4.10-jdk9`, `2.4-jdk9`, `jdk9` (*jdk9/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jdk9/Dockerfile) - [`2.4.10-jre9`, `2.4-jre9`, `jre9` (*jre9/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/dbc61ddbc286b5847e8778747264e92bcd29c93d/jre9/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/groovy`)](https://github.com/docker-library/official-images/blob/master/library/groovy). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fgroovy). For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see [the `repos/groovy/tag-details.md` file](https://github.com/docker-library/repo-info/blob/master/repos/groovy/tag-details.md) in [the `docker-library/repo-info` GitHub repo](https://github.com/docker-library/repo-info). # What is Groovy? [Apache Groovy](http://groovy-lang.org/) 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. ![logo](https://raw.githubusercontent.com/docker-library/docs/bb5fc730ed18c45d86425f9fa4265d50cb795ec8/groovy/logo.png) # How to use this image ## Starting Groovysh `docker run -it --rm --name groovy groovy:alpine` ## Running a Groovy script `docker run --rm -v "$PWD":/scripts -w /scripts --name groovy groovy:alpine groovy