Docker image for Grails 2.x CLI to use as build container. This image bootstraps an environment for building old Grails 2.x.x applications based on OpenJDK 6. This docker image was created to support an legacy application that could not be upgraded to a newer version of Grails or even Java Version, easely.
Dockerfile on https://github.com/crowdcode-de/docker-grails-cli
Image on https://hub.docker.com/r/crowdcode/grails-cli
- Grails 2.2.1
- OpenJDK 6
Go to your grails application folder and start the grails interactive mode as follows:
docker run -it --rm -v "$(pwd)":/workspace crowdcode/grails grails
Or to build a production war of your application
docker run -it --rm -v "$(pwd)":/workspace crowdcode/grails:latest grails prod war
You can build the image by yourself by executing:
./build.sh
Or by downloading directly from the registry:
docker pull crowdcode/grails:{version|latest}
- More info about Grails 2
- More info about OpenJDK 6
- More info about Docker Java Container
- More info about Groovy
- More info about Java Release History
This image was inspired by mozart/grails-docker.