Code Monkey home page Code Monkey logo

grails-docker's Introduction

Grails environment

This repository objective is to allow users to test and run their Grails applications without needing to install Grails in their own machines. The port 8080 (Grails default port) is open, and can be linked to a local port in order to access the app. In order to link the port, you can you the following command (it connects your local port 8888 to the port 8080 in the container) docker run -p 8888:8080 -it vaidegrails/grails /bin/bash

To automatically remove the container after using it, you only need to add the --rm parameter: docker run -p 8888:8080 -it --rm vaidegrails/grails /bin/bash

If you want to name your container, you this command: docker run -p 8888:8080 -it --name <container_name> vaidegrails/grails /bin/bash

The tags follow this pattern::

  • vaidegrails/grails:latest - Most recent Grails version with Ubuntu.
  • vaidegrails/grails:X.X.X - Grails specific version with Ubuntu. In this repository, the minimum Grails version is 3.2.8
  • vaidegrails/grails:X.X.X-alpine - Grails specific version with Alpine Linux. In this repository, the minimum Grails version is 3.2.8

These are the configuration of the container:

  • Operational System:
    • Ubuntu 14.04 or Alpine 3.5
  • User:
    • developer
  • SDKs:
    • OpenJDK 8
    • Grails 3.2.8
    • Gradle 3.4.1
  • Grails Version Management:
    • SDKMAN!
  • Version System:
    • git
  • Auxiliary Tools:
    • gitg
    • curl
    • nano
    • unzip
  • Exposed ports:
    • 8080 (Grails default port)
    • 5005 (Debug port)

The Docker Hub repository can be found at: https://hub.docker.com/r/vaidegrails/grails/

If you want to run this image, you can use the script run_image.sh: scripts/run_image.sh

To run the Alpine version: scripts/run_image_alpine.sh

If you want to build the image: scripts/build_image.sh

If you want to build the Alpine image: scripts/build_image_alpine.sh

grails-docker's People

Contributors

bruno-lopes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.