# Supported tags and respective `Dockerfile` links - [`2.4.11-jdk7`, `2.4-jdk7`, `jdk7` (*jdk7/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jdk7/Dockerfile) - [`2.4.11-jre7`, `2.4-jre7`, `jre7` (*jre7/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jre7/Dockerfile) - [`2.4.11-jdk7-alpine`, `2.4-jdk7-alpine`, `jdk7-alpine` (*jdk7-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jdk7-alpine/Dockerfile) - [`2.4.11-jre7-alpine`, `2.4-jre7-alpine`, `jre7-alpine` (*jre7-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jre7-alpine/Dockerfile) - [`2.4.11-jdk8`, `2.4-jdk8`, `jdk8`, `2.4.11-jdk`, `2.4-jdk`, `jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jdk8/Dockerfile) - [`2.4.11-jre8`, `2.4-jre8`, `jre8`, `2.4.11-jre`, `2.4-jre`, `jre`, `2.4.11`, `2.4`, `latest` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jre8/Dockerfile) - [`2.4.11-jdk8-alpine`, `2.4-jdk8-alpine`, `jdk8-alpine`, `2.4.11-jdk-alpine`, `2.4-jdk-alpine`, `jdk-alpine` (*jdk8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jdk8-alpine/Dockerfile) - [`2.4.11-jre8-alpine`, `2.4-jre8-alpine`, `jre8-alpine`, `2.4.11-jre-alpine`, `2.4-jre-alpine`, `jre-alpine`, `2.4.11-alpine`, `2.4-alpine`, `alpine` (*jre8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jre8-alpine/Dockerfile) - [`2.4.11-jdk9`, `2.4-jdk9`, `jdk9` (*jdk9/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jdk9/Dockerfile) - [`2.4.11-jre9`, `2.4-jre9`, `jre9` (*jre9/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/2ddaa9372c9d8c80fd76e0de808be030cd4ba380/jre9/Dockerfile) - [`2.5.0-alpha-1-jdk7`, `2.5-jdk7` (*jdk7/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jdk7/Dockerfile) - [`2.5.0-alpha-1-jre7`, `2.5-jre7` (*jre7/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jre7/Dockerfile) - [`2.5.0-alpha-1-jdk7-alpine`, `2.5-jdk7-alpine` (*jdk7-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jdk7-alpine/Dockerfile) - [`2.5.0-alpha-1-jre7-alpine`, `2.5-jre7-alpine` (*jre7-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jre7-alpine/Dockerfile) - [`2.5.0-alpha-1-jdk8`, `2.5-jdk8`, `2.5.0-alpha-1-jdk`, `2.5-jdk` (*jdk8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jdk8/Dockerfile) - [`2.5.0-alpha-1-jre8`, `2.5-jre8`, `2.5.0-alpha-1-jre`, `2.5-jre`, `2.5.0-alpha-1`, `2.5` (*jre8/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jre8/Dockerfile) - [`2.5.0-alpha-1-jdk8-alpine`, `2.5-jdk8-alpine`, `2.5.0-alpha-1-jdk-alpine`, `2.5-jdk-alpine` (*jdk8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jdk8-alpine/Dockerfile) - [`2.5.0-alpha-1-jre8-alpine`, `2.5-jre8-alpine`, `2.5.0-alpha-1-jre-alpine`, `2.5-jre-alpine`, `2.5.0-alpha-1-alpine`, `2.5-alpine` (*jre8-alpine/Dockerfile*)](https://github.com/groovy/docker-groovy/blob/5458567bb10318d65de2675e1e374173448281e9/jre8-alpine/Dockerfile) # Quick reference - **Where to get help**: [the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](https://blog.docker.com/2016/11/introducing-docker-community-directory-docker-community-slack/), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker) - **Where to file issues**: [https://github.com/groovy/docker-groovy/issues](https://github.com/groovy/docker-groovy/issues) - **Maintained by**: [the Apache Groovy project](https://github.com/groovy/docker-groovy) - **Published image artifact details**: [repo-info repo's `repos/groovy/` directory](https://github.com/docker-library/repo-info/blob/master/repos/groovy) ([history](https://github.com/docker-library/repo-info/commits/master/repos/groovy)) (image metadata, transfer size, etc) - **Image updates**: [official-images PRs with label `library/groovy`](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fgroovy) [official-images repo's `library/groovy` file](https://github.com/docker-library/official-images/blob/master/library/groovy) ([history](https://github.com/docker-library/official-images/commits/master/library/groovy)) - **Source of this description**: [docs repo's `groovy/` directory](https://github.com/docker-library/docs/tree/master/groovy) ([history](https://github.com/docker-library/docs/commits/master/groovy)) - **Supported Docker versions**: [the latest release](https://github.com/docker/docker/releases/latest) (down to 1.6 on a best-effort basis) # 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