[
https://issues.apache.org/jira/browse/HBASE-27915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848880#comment-17848880
]
Nick Dimiduk commented on HBASE-27915:
--------------------------------------
Heya [~wchevreuil], I missed this ticket but I saw your commit land. If you're
interested, I have an example of how to define a single dockerfile that can be
used to build images for multiple platforms. And if the underlying build engine
supports it, I believe it can be used to create a multi-platform image.
https://github.com/apache/hbase-kustomize/tree/main/dockerfiles/kuttl
> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> ----------------------------------------------------------------------------
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
> Issue Type: Bug
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Minor
> Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker"
> on m1 macs, the docker build fails at the git clone & mvn build stage with
> below error:
> {noformat}
> #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for
> the ubuntu image. I thought we could add a note in this readme, together with
> an "m1" subfolder containing a modified copy of this Dockerfile that works on
> mac m1s.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)