[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-21 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison closed pull request #19: Add Github CI workflows for multi-arch 
Docker images 

> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-21 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2123275951

   At long last, I think we're all set. Thank you @fpiesche for opening this 
and for all of your work on it! I'm sorry I took the more daft option, but here 
we are. If you still want, please do open a separate issue for dependabot.
   
   Thank you to all who helped with this and tested the alpha release!




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-21 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

nextgens commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2122027255

   I have just tried ``apache/tika:2.9.2-alpha-multi-arch-full`` on an Ampere 
A1 (arm64) box and that seems to work fine




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread Tim Allison (Jira)


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

Tim Allison commented on TIKA-4258:
---

I'm sure I'll need to modify the PR when I actually go to run it, but it 
shouldn't be much different. I'll also update the "how to release" notes.

> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread Tim Allison (Jira)


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

Tim Allison commented on TIKA-4258:
---

Let's give it a day for fellow devs to weigh in. If there are no objections, 
I'll make the multi-arch release of 2.9.2.1 and 'latest' in ~24 hours from now?

> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120876458

   > I think building multiarch with buildx requires QEMU, but as long as 
that's available on the host doing the builds just running buildx should be 
perfectly fine - that's all the github workflow does after all!




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

hegerdes commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120869924

   > Wow...it looks like it actually worked?!
   > 
   > Can you all give this a shot? 
https://hub.docker.com/layers/apache/tika/2.9.2-alpha-multi-arch/images/sha256-b8b6e02e3e9f98ddae33b74881f4ead7846ee12352d53149098857378bb3393d?context=repo
   
   Nice, thx 👍
   Runs just fine on a raspberry pi 4 (arm64)




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread Tim Allison (Jira)


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

Tim Allison commented on TIKA-4258:
---

And here's the full version: 
https://hub.docker.com/layers/apache/tika/2.9.2-alpha-multi-arch-full/images/sha256-70ca1efb4686145feb88033ec9db441dd89f6ee126271d872354767d33af7ff9?context=explore


> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120845395

   Wow...it looks like it actually worked?!
   
   Can you all give this a shot? 
https://hub.docker.com/layers/apache/tika/2.9.2-alpha-multi-arch/images/sha256-b8b6e02e3e9f98ddae33b74881f4ead7846ee12352d53149098857378bb3393d?context=repo




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120807457

   Let's add other registries on a later ticket?
   
   How's this look? https://github.com/apache/tika-docker/pull/21
   
   I haven't tested it.




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

fpiesche commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120688287

   I think building multiarch with buildx requires QEMU, but as long as that's 
available on the host doing the builds just running buildx should be perfectly 
fine - that's all the github workflow does after all!




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120577030

   > If securing the credentials required for dockerhub is the only concern, I 
think using github container registry instead may be a great solution. 
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry
   > 
   > If you still want the images to be on dockerhub you could sync them 
(locally or otherwise) using a tool such as 
https://github.com/regclient/regclient/. We use it in Mailu, see 
https://github.com/Mailu/Mailu/blob/master/.github/workflows/mirror.yml#L35
   
   Awesome. Thank you. ASF infra has a way to do the auth. My current thinking 
is not to rework our workflow into github actions, but rather see if we can 
tweak our current workflow to get multi-arch images.




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120574718

   How's this for a proposed way forward?
   
   We basically keep our current workflow on the release manager's 
laptop/hardware. We modify our build scripts to build a single-arch image, run 
our usual tests and then do a second call to docker buildx where we build 
multiarch images and then deploy to dockerhub?




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

nextgens commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120530390

   If securing the credentials required for dockerhub is the only concern, I 
think using github container registry instead may be a great solution.
   
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry
   
   If you still want the images to be on dockerhub you could sync them (locally 
or otherwise) using a tool such as https://github.com/regclient/regclient/. We 
use it in Mailu, see 
https://github.com/Mailu/Mailu/blob/master/.github/workflows/mirror.yml#L35




> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on TIKA-4258:
--

tballison commented on PR #19:
URL: https://github.com/apache/tika-docker/pull/19#issuecomment-2120501490

   It looks like Airflow at least has moved away from github actions and moved 
towards a release manager building locally and pushing to dockerhub 

> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread Tim Allison (Jira)


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

Tim Allison commented on TIKA-4258:
---

Helpful links from #infra:

https://infra.apache.org/docker-hub-policy.html
https://infra.apache.org/github-actions-secrets.html

> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TIKA-4258) Multi-arch support for docker images

2024-05-20 Thread Tim Allison (Jira)


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

Tim Allison commented on TIKA-4258:
---

If fellow devs with better knowledge of github actions and docker hub want to 
jump in, please do! [~lewismc] [~davemeikle]?

> Multi-arch support for docker images
> 
>
> Key: TIKA-4258
> URL: https://issues.apache.org/jira/browse/TIKA-4258
> Project: Tika
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> This is a post-PR ticket to cover the work on: 
> https://github.com/apache/tika-docker/pull/19
> Related: https://issues.apache.org/jira/browse/INFRA-25803 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)