You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/05 08:55:53 UTC

[GitHub] [apisix-dashboard] LYignore opened a new issue #2280: MAC m1 build image cannot run on the server

LYignore opened a new issue #2280:
URL: https://github.com/apache/apisix-dashboard/issues/2280


   ### Issue description
   
   When I use the m1CPU of the mac to build the image can not run on the Linux server. In most cases, the compiled services are run on the Linux amd64 bit server, but more challenges make us need to be compatible with more platforms. It is recommended to use buildx to build a mirroring service compatible with linux/arm64 platform and linux/amd64 platform
   
   ### Expected behavior
   
   I hope that when buildx is turned on, the compilation document is modified to use multi-platform compatibility mode, similar to modifying "docker build -t apisix-dashboard:$tag." to "docker buildx build --platform linux/amd64,linux/arm64 -t apisix-dashboard :$tag ." 
   
   ### How to Reproduce
   
   1. Use mac's m1 workbook to compile the docker image locally 
   2. Push the generated image to the built harbor 
   3. Pull the image construction service built by harbor on the server
   4. If the cloud platform is a linux platform, it will report an error that the container has failed to start and cannot enter the container, and it will report a platform compatibility error. 
   
   ### Screenshots
   
   _No response_
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `etcd --version`):
   - apisix-dashboard version, if have:
   - Browser version, if have:
   
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 commented on issue #2280: MAC m1 build image cannot run on the server

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2280:
URL: https://github.com/apache/apisix-dashboard/issues/2280#issuecomment-1009628868


   @LYignore Dockerfile currently supports multiple architectures, and we also provide a pre-compiled image of `APISIX Dashboard 2.10.1`. You can use the latest build scripts in `apache/apisix-docker` and support building previous versions of dashboar simply by modifying the dashboard source version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] zaunist commented on issue #2280: MAC m1 build image cannot run on the server

Posted by GitBox <gi...@apache.org>.
zaunist commented on issue #2280:
URL: https://github.com/apache/apisix-dashboard/issues/2280#issuecomment-1005498130


   Hi, @LYignore. Ref https://github.com/apache/apisix-docker/issues/255


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 commented on issue #2280: MAC m1 build image cannot run on the server

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2280:
URL: https://github.com/apache/apisix-dashboard/issues/2280#issuecomment-1009627512


   @zaunist I noticed that @LYignore's question is about dashboard builds, and we currently have multi-architecture support for all release images in the latest version, including centos amd64/arm64 and alpine amd64/arm64. The issue you pointed out is not relevant, the issue there is a single-architecture build of `apisix-base`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org