Grails environment to build artifacts from.
4.7K
This containerimage is a series of Docker-tags for every Grails version currently out there starting from 2.0.0.
The main goal of Docker Grails is the usage in CI-pipelines like GitLab to build artifacts from within a specific Grails version environment.
Example .gitlab-ci.yml would look like this:
prod:
stage: Build war
tags:
- docker
only:
- master
image: joooostb/grails:${GRAILS_VERSION}
script:
- cd PROJECT_DIR
- /root/.sdkman/candidates/grails/${GRAILS_VERSION}/bin/grails prod war --non-interactive --stacktrace
Of course the image can also be used locally to build, the command would be as follows:
docker run -it -v /my/project/dir:/usr/src/app myproject:latest /root/.sdkman/candidates/grails/${GRAILS_VERSION}/bin/grails prod war --non-interactive --stacktrace
Content type
Image
Digest
Size
468.9 MB
Last updated
over 6 years ago
docker pull joooostb/grails:4.0.3