<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 18/04/15 11:10 AM, Randall Hauch
      wrote:<br>
    </div>
    <blockquote
      cite="mid:BCDD8C39-9EF3-4168-B044-3069E6B92025@redhat.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      I’m using com.spotify:docker-maven-plugin (<a
        moz-do-not-send="true"
        href="https://github.com/spotify/docker-maven-plugin" class="">https://github.com/spotify/docker-maven-plugin</a>)
      in a project other than Hawkular, and I think it works quite well.
      Yes, it is easier to use if you build an assembly with the layout,
      and then simply ADD the archive via the Dockerfile. (Recall that
      ADD will extract the contents of a ZIP or TAR archive, whereas
      COPY just copies files.) The Maven plugin can easily build the
      image, register it locally, and optionally push to DockerHub.</blockquote>
    <br>
    The main issue I had with the spotify and jolokia maven plugins is
    that they don't support unix sockets (eg for local builds). The
    docker daemon defaults to unix sockets, which is the more secure
    option. <br>
    <br>
    So to use these plugins, you need to manually configure your system
    to use tcp instead of the unix sockets. Which if you do it the easy
    way, opens up your machine to an easy root vulnerability. Or, to do
    it the proper way, manually setup all your certificates and handle
    things over ssl.<br>
    <br>
    But, I guess I can give it another look to see just how difficult it
    is to manually set it all up. Overall I really got the impression
    that you gain more control over just building it manually yourself
    and then using a script to push out the images after.<br>
    <br>
    <blockquote
      cite="mid:BCDD8C39-9EF3-4168-B044-3069E6B92025@redhat.com"
      type="cite">
      <div class=""><br class="">
        <div class=""><br class="">
          <div>
            <blockquote type="cite" class="">
              <div class="">On Apr 17, 2015, at 5:44 PM, Matt Wringe
                &lt;<a moz-do-not-send="true"
                  href="mailto:mwringe@redhat.com" class="">mwringe@redhat.com</a>&gt;
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">The docker images are not created and
                deployed to a docker registry as <br class="">
                part of the build, it will just create a folder where
                you can run the <br class="">
                docker build from. None of the maven docker plugins I
                looked at seemed <br class="">
                to really work properly, so its still a manual process
                to do the build <br class="">
                (and push to a registry). Its something which needs to
                be improved.<br class="">
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
hawkular-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/hawkular-dev">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>