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

aarch64 rpm fails to install when using an arm64 docker builder #71789

Closed
jamshid opened this issue Apr 18, 2021 · 2 comments
Closed

aarch64 rpm fails to install when using an arm64 docker builder #71789

jamshid opened this issue Apr 18, 2021 · 2 comments
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team

Comments

@jamshid
Copy link

jamshid commented Apr 18, 2021

Elasticsearch version (bin/elasticsearch --version):

7.12.0

Plugins installed: []
none
JVM version (java -version):
none using packaged jdk
OS version (uname -a if on a Unix-like system):
the centos:7.9.2009 on
Description of the problem including expected versus actual behavior:

I know I can use your official images but trying to build my own centos:7 image and install the aarch64 rpm. But docker buildx only creates an arm64 builder and rpm/yum do not consider your aarch64 rpm to be compatible.

I thought aarch64 and arm64 were equivalent. Is this expected behavior? Is there a workaround? rpm --force did not help.

Steps to reproduce:

  1. Try to build an arm64 image from a Dockerfile that is FROM centos:7.9.2009.
    docker buildx build --platform linux/arm64 ...
  2. yum install -y https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.12.0-aarch64.rpm

Provide logs (if relevant):
yum fails with:

Cannot add package /deliverables/elasticsearch-7.12.0-aarch64.rpm to transaction. Not a compatible architecture: aarch64
@jamshid jamshid added >bug needs:triage Requires assignment of a team area label labels Apr 18, 2021
@dnhatn
Copy link
Member

dnhatn commented Apr 20, 2021

Thanks very much for your interest in Elasticsearch.

This appears to be a user question, and we'd like to direct these kinds of things to the forums. If you can stop by there, we'd appreciate it. This allows us to use GitHub for verified bug reports, feature requests, and pull requests.

There's an active community in the forums that should be able to help get an answer to your question. As such, I hope you don't mind that I close this.

@dnhatn dnhatn closed this as completed Apr 20, 2021
@dnhatn dnhatn added :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts and removed >bug needs:triage Requires assignment of a team area label labels Apr 20, 2021
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Apr 20, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team
Projects
None yet
Development

No branches or pull requests

3 participants