[Hawkular-dev] Some progress on Dockerization of Hawkular-services

Viet Nguyen vnguyen at redhat.com
Fri Jun 17 11:45:14 EDT 2016


Heiko,

How about using regular Dockerfile instead of the maven plugin?  you can 'burn' changes (adding users, configuring standalone.xml...) into the final image?


https://github.com/RedHatQE/hawkular-docker


Viet


----- Original Message -----
From: "Heiko W.Rupp" <hrupp at redhat.com>
To: "Discussions around Hawkular development" <hawkular-dev at lists.jboss.org>
Sent: Friday, June 17, 2016 5:50:57 AM
Subject: Re: [Hawkular-dev] Some progress on Dockerization of Hawkular-services

On 17 Jun 2016, at 12:37, Heiko W.Rupp wrote:

> The next step is now to figure out how to only apply our changes and 
> not
> to
> supply the base wildfly into the conatiner. I certainly need help from
> someone
> with maven-fu :)

I have this now in the docker-dist3
module 
https://github.com/pilhuhn/hawkular-services/tree/dockerize-all-the-things/docker-dist3

As before:
$ mvn -Pdev install
$ mvn cd docker-dist3
$ mkdir -p /tmp/opt/hawkular
$ mvn docker:build
$ mvn docker:start

== Http2/ssl

Dockerizing of services could now also allow to also
add the correct alpn jar to the container to enable http2,
as the underlying JVM is known and constant (until the
underlying base image changes)

$ docker run -it hawkular/hawkular-services-mvn3 bash
[root at 275fc8b436f7 jboss]# java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

So according to 
http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions

for 1.8.0u91 alpn 8.1.7.v20160121 is required, which
can be retrieved from 
http://mvnrepository.com/artifact/org.mortbay.jetty.alpn/alpn-boot

There is a guide for further work on this
http://undertow.io/blog/2015/03/26/HTTP2-In-Wildfly.html

It requires SSL though and also away to configure this.

_______________________________________________
hawkular-dev mailing list
hawkular-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev


More information about the hawkular-dev mailing list