Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo docker

Hello World, Quarkus!

Today JBoss community released Quarkus . I could not wait to test it. Projects can be generated using the following archetype: mvn io.quarkus:quarkus-maven-plugin:0.11.0:create      \     -DprojectGroupId=org.fxapps                        \     -DprojectArtifactId=quarkus-getting-started        \     -DclassName="org.fxapps.GreetingResource"          \     -Dpath="/hello"              With the project that was generated you can create native binaries and docker images from it. See the following video for a quick demo of a hello world application:

The Image Classifier Microservice is public on Docker repository

Using fabric8 docker plugin and the project from A Java microservice for image classification using Thorntail and DeepLearning4J  post I was able to build a docker image and I pushed it to my Docker repository! In this post I am sharing the steps I followed to build the docker image and publish it. Next post I hope to show you how to run on Openshift with some real world application. Step 1: Build an image from the Thorntail project This is simple, you will need just a configuration in the maven descriptor, see the changes in the project pom.xml . Notice that I had to made a manual copy of a JAR file as described in Thorntail's issue #951 , however, I am probably missing something, that may not be a bug,. Let's wait to see what Thorntail team will provide as a feedback for that issue. I wasn't a bug, Bob just commented on the issue, the solution is not use the thin mode. For having help I pinged Thorntail users on #thorntail IRC channel in freenode and Ken Finin...