You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Robert Munteanu <ro...@apache.org> on 2022/01/14 16:49:24 UTC

Pushing Sling Starter snapshot Docker images to DockerHub

Hi,

During my work on the Docker Images for the Starter I found out that
building only for tags makes it very hard to test out Docker builds.

I have forked the repository and built it using my Docker Hub account,
but that unfortunately requires a paid Docker account, and I think we
should not impose that limit on contributors.

Given a statement from the ASF infra [1] that the DockerHub is not an
official ASF release channel and we can publish images as we see fit, I
would like to propose that we publish the master branch as
apache/sling:snapshot for each build.

FWIW, you can see the in-progress images at [2].

Thoughts?

Thanks,
Robert

[1]:
https://issues.apache.org/jira/browse/INFRA-22533?focusedCommentId=17445463
[2]: https://hub.docker.com/r/rombert/org-apache-sling-starter

Re: Pushing Sling Starter snapshot Docker images to DockerHub

Posted by Robert Munteanu <ro...@apache.org>.
Hi Dirk,

On Wed, 2022-01-19 at 12:19 +0100, Dirk Rudolph wrote:
> Hey Robert,
> 
> just thinking a little outside the box here:
> 
> A "snapshot" is something rather specific for Maven, and less widely
> used in other ecosystems like nodejs/npm or afaik docker hub.
> 
> In nodejs/npm developers use "next" as the tag for the current head
> of
> the main branch.
> 
> And as docker hub refers to tags as well, maybe it makes sense to use
> "next" here too?

Thanks for bringing this up, I was not familiar with other convention.
I took a look at what other Apache projects are doing, and I found
mostly 'snapshot' (see below). It may be a Java convention, but this is
a Java project :-) and seems to be what others are doing, for better or
for worse.

https://hub.docker.com/r/apache/solr-nightly/tags
https://hub.docker.com/r/apache/drill/tags ( uses 'master')
https://hub.docker.com/r/apache/kyuubi/tags
https://hub.docker.com/r/apache/systemds/tags ( uses 'nightly' )
https://hub.docker.com/r/apache/hop-web/tags
https://hub.docker.com/r/apache/apisix/tags ( uses 'dev' )
https://hub.docker.com/r/apache/syncope-wa/tags
https://hub.docker.com/r/apache/submarine/tags

Thanks,
Robert


> 
> Best,
> 
> Dirk
> 
> On Fri, 14 Jan 2022 at 17:49, Robert Munteanu <ro...@apache.org>
> wrote:
> > 
> > Hi,
> > 
> > During my work on the Docker Images for the Starter I found out
> > that
> > building only for tags makes it very hard to test out Docker
> > builds.
> > 
> > I have forked the repository and built it using my Docker Hub
> > account,
> > but that unfortunately requires a paid Docker account, and I think
> > we
> > should not impose that limit on contributors.
> > 
> > Given a statement from the ASF infra [1] that the DockerHub is not
> > an
> > official ASF release channel and we can publish images as we see
> > fit, I
> > would like to propose that we publish the master branch as
> > apache/sling:snapshot for each build.
> > 
> > FWIW, you can see the in-progress images at [2].
> > 
> > Thoughts?
> > 
> > Thanks,
> > Robert
> > 
> > [1]:
> > https://issues.apache.org/jira/browse/INFRA-22533?focusedCommentId=17445463
> > [2]: https://hub.docker.com/r/rombert/org-apache-sling-starter


Re: Pushing Sling Starter snapshot Docker images to DockerHub

Posted by Dirk Rudolph <di...@apache.org>.
Hey Robert,

just thinking a little outside the box here:

A "snapshot" is something rather specific for Maven, and less widely
used in other ecosystems like nodejs/npm or afaik docker hub.

In nodejs/npm developers use "next" as the tag for the current head of
the main branch.

And as docker hub refers to tags as well, maybe it makes sense to use
"next" here too?

Best,

Dirk

On Fri, 14 Jan 2022 at 17:49, Robert Munteanu <ro...@apache.org> wrote:
>
> Hi,
>
> During my work on the Docker Images for the Starter I found out that
> building only for tags makes it very hard to test out Docker builds.
>
> I have forked the repository and built it using my Docker Hub account,
> but that unfortunately requires a paid Docker account, and I think we
> should not impose that limit on contributors.
>
> Given a statement from the ASF infra [1] that the DockerHub is not an
> official ASF release channel and we can publish images as we see fit, I
> would like to propose that we publish the master branch as
> apache/sling:snapshot for each build.
>
> FWIW, you can see the in-progress images at [2].
>
> Thoughts?
>
> Thanks,
> Robert
>
> [1]:
> https://issues.apache.org/jira/browse/INFRA-22533?focusedCommentId=17445463
> [2]: https://hub.docker.com/r/rombert/org-apache-sling-starter