Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.63 KB

File metadata and controls

52 lines (34 loc) · 1.63 KB

Docker Grails 2.x CLI (docker-grails-cli)

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

Technologies

  • Grails 2.2.1
  • OpenJDK 6

How to use this image

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

Building the Image

You can build the image by yourself by executing:

./build.sh

Or by downloading directly from the registry:

docker pull crowdcode/grails:{version|latest}

References

Credits

This image was inspired by mozart/grails-docker.