akamai / akamai-docker

Dockerfile for official Akamai's DevOps environment containing CLI packages and useful tools
Apache License 2.0
39 stars 15 forks source link

implement multi-arch builds #58

Closed ynohat closed 1 year ago

ynohat commented 3 years ago

We have working docker builds on ARM/M1, but we don't publish those images to dockerhub yet.

I suppose we need to discuss with architectures we should support, and what it means to support them. Are there implications re: hosting? Are we properly equipped to test these?

Motivated by Mac Silicon and first discussed in https://github.com/akamai/akamai-docker/issues/55#issuecomment-832876870

securitylevelup commented 3 years ago

Merging issues: https://github.com/akamai/akamai-docker/issues/61 Received feedback from 2 customers that they are unable to run the akamai-docker on their Macs with M1 chips. One customer reported the following error message: "qemu: uncaught target signal 11 (Segmentation fault) - core dumped".

This might be related to Docker itself and how it operates with the Qemu. Found this online on other Docker related GitHub issues: "This is a qemu bug, which is the upstream component we use for running Intel (amd64) containers on M1 (arm64) chips, and is unfortunately not something we control.". Unclear if this is indeed the cause.

Unable to replicate this myself because I do not have access to a M1 Mac at the present moment.

ynohat commented 3 years ago

cross-referencing https://github.com/akamai/cli/issues/128 and https://github.com/akamai/cli/issues/127

krzyk commented 2 years ago

Are there any updates? It has been quite a few months and we get asks about this support. I expect more and more clients will be on M1 macs.

krzyk commented 2 years ago

BTW. I think this could be replicated on a Raspberry Pi 4 which is also arm64 and a bit cheaper then a new mac.

securitylevelup commented 2 years ago

I apologize but this has sadly not been fixed yet. It is still on the roadmap as we are also moving ownership of the Akamai Docker image to another internal team who will continue to maintain it and update it where needed. I will make sure the M1 capabilities get added of course.

fkieling commented 2 years ago

Can you say, when an update is comming? Frequently we use the docker images and get new MacBooks with the silicon chip. But now we can't use the akamai docker images. It's a problem.

elvischang-lll commented 2 years ago

Any update on the fix or workaround?

lkowalsk-akamai-com commented 2 years ago

@fkieling @elvischang-lll We are currently in the process of obtaining required resources to preform validation and verification if the our tools work correclty on M1 machines. Hard to say anything specific now, but this will still take some time.

lkowalsk-akamai-com commented 1 year ago

Hi, support for M1 machines was added. New docker images contain arm64 build.