Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker pull does not load correct arch image on arm64 #7880

Closed
2 of 6 tasks
roycec opened this issue Aug 15, 2019 · 7 comments
Closed
2 of 6 tasks

Docker pull does not load correct arch image on arm64 #7880

roycec opened this issue Aug 15, 2019 · 7 comments
Labels
topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Milestone

Comments

@roycec
Copy link

roycec commented Aug 15, 2019

  • Gitea version (or commit ref): 1.9.1
  • Git version:
  • Operating system: Ubuntu 16.04.6 LTS (Xenial Xerus) on arm64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [] No
    • Not relevant
  • Log gist:

Description

When I try to download the docker image with the 1.9.1 tag, I get the amd64 image. I'm only able to download the arm64 image, if I use 'docker pull gitea/gitea:linux-arm64'. But then I get the latest (development) version. But I want to use the last stable version, and I would expect the image for the correct architecture being downloaded. But I'm also not sure, if this is a Gitea thing or not.

@sapk
Copy link
Member

sapk commented Aug 15, 2019

The 1.9 branch doesn't have the change for multi-arch (merge after 1.9 freeze).
Only master and version after 1.9 will be multi-arch image.

@roycec
Copy link
Author

roycec commented Aug 15, 2019

So when there will be multiarch versions? Or how can I see, if multiarch images exist on dockerhub?

@sapk
Copy link
Member

sapk commented Aug 15, 2019

I prepare the backport, and let others maintainers choose if we need to backport it.
Normally the rule is to only backport fix after version freeze.

We will soon (less than 1 month) freeze 1.10 process so a 1.10-rc1 should be soon available and the 1.10.0 release could be expected 1 or 2 month later. This timeline is purely an estimation based on previous releases but it could maybe take longer.

@sapk
Copy link
Member

sapk commented Aug 15, 2019

To detect multi-arch image you can use the command docker inspect your/image:tag you will find the returned arch.

Edit: If you have experimental cli activated docker manifest inspect gitea/gitea vs docker manifest inspect gitea/gitea:1.9

@lafriks lafriks added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Aug 15, 2019
@lafriks lafriks added this to the 1.9.2 milestone Aug 15, 2019
@roycec
Copy link
Author

roycec commented Aug 15, 2019

ok, maybe this was a misunderstanding on my end. I thought, multiarch images would be created for every release. Or maybe this is the goal?

@sapk
Copy link
Member

sapk commented Aug 16, 2019

The backport PR is now merged so when 1.9.2 will also be released, the tags 1.9.2, 1.9, 1 will be multi-arch. Every release later will have multi-arch.

@techknowlogick
Copy link
Member

Linked PR has been merged. Will close this issue now. Thanks for opening it, and thanks to @sapk for PR :)

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

No branches or pull requests

4 participants