Sign inSign up

joooostb/grails

By joooostb

Updated over 6 years ago

Grails environment to build artifacts from.

Image
0

4.7K

joooostb/grails repository overview

Docker Grails

This containerimage is a series of Docker-tags for every Grails version currently out there starting from 2.0.0.

Usage

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

Tag summary

Content type

Image

Digest

Size

468.9 MB

Last updated

over 6 years ago

docker pull joooostb/grails:4.0.3