[ 
https://issues.apache.org/jira/browse/JENA-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948465#comment-16948465
 ] 

Andy Seaborne commented on JENA-909:
------------------------------------

Yes - docker hub is like maven central for delivery but the workflow is 
different to get things there. In the Jena release, the build maven artifacts 
go to "staging" for the vote (ASF run a Nexus instance at 
repository.apache.org) and then if there vote is successful "staging" is 
promoted and this syncs with central. So the release build artifacts are not 
going straight to central.maven.

Tagging in git with autobuild would immediately trigger dockerhub to 
build+publish the docker image.

Looking around other projects there is a mix of styles. It looks quite common 
that the docker images are done separately from build and in fact seem to be 
done by a different person. Some person manages it on behalf of the project. 
True "convenience binaries". Either they are using autobuild on a separate 
repository, and presumably that repo isn't voted on directly.

We could do that - produce the Dockerfile in the release cycle (set the version 
number) and then as a step afterwards copy it to a separate repo or afterward 
run "docker push" as an "execute the release" step (like the javadoc).

e.g. https://github.com/apache/accumulo and 
https://github.com/apache/accumulo-docker

It might also work to have a tagging system with a specific tag e.g. 
"docker-????" but ATM I'm not see the point other than not needing docker 
installed. The most import thing for me is that the image may be 400-500Mb but 
the push is only the additional layers so the upload isn't large and slow.

So far, I have used docker command line and also the Spotify maven plugin as 
local build.






> Create Docker launcher for Fuseki
> ---------------------------------
>
>                 Key: JENA-909
>                 URL: https://issues.apache.org/jira/browse/JENA-909
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Fuseki
>            Reporter: Andy Seaborne
>            Priority: Major
>         Attachments: image-2019-10-02-22-24-12-723.png
>
>
> Provide a Docker launcher and setup documentation for  Fuseki2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to