"Jakarta EE" Eclipse GlassFish 5.1 Docker Image is Available from Docklands and from Dockerhub

Eclipse GlassFish 5.1 docker image is available as Dockerfile from Docklands (glassfish) and docker image directly from dockerhub: airhacks/glassfish.

All projects created with the Java EE 8 Essential Archetype ship with a Dockerfile already pointing to airhacks/glassfish.

To create a project run:

mvn archetype:generate -DarchetypeGroupId=com.airhacks -DarchetypeArtifactId=javaee8-essentials-archetype -DarchetypeVersion=0.0.2 -DgroupId=com.airhacks -Dversion=0.0.1 -Darchetype.interactive=false --batch-mode -DartifactId=eclipsefish

to build:

cd eclipsefish
mvn clean install && docker build -t airhacks/eclipsefish .    

to run:

docker run -d -p 8484:8080 --name thinfish airhacks/thinfish

...and do smoke test:

curl http://localhost:8484/thinfish/resources/ping output:

HTTP/1.1 200 OK
Server: GlassFish Server Open Source Edition  5.1.0 
X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition  5.1.0  Java/Oracle Corporation/1.8)
Content-Type: text/plain
Content-Length: 16

Enjoy Java EE 8!%          

Checkout wad.sh for continuous deployments.

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


Would you consider GlassFish 5.1 production ready?

Posted by Gregor Kovač on February 13, 2019 at 11:43 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments