While i was using windows i was using the docker image webdevops/php-apache-dev:8.2 for development without much hassle and deployed it successfully to fargate.
After switching to a silicon mac recently, i added
FROM --platform=linux/amd64 webdevops/php-apache-dev:8.2
to my dockerfile.
and i receive the upper message during CDK deploy from ECS. From my understanding, it can’t find linux/amd64 in the image manifest.
then i checked the output of
docker manifest inspect webdevops/php-apache-dev:8.2
and i saw, that there is no “Platform” inside the Manifest
ok. then i changed the dockerfile to use the base image php:8.2-apache
docker manifest inspect php:8.2-apache
shows
But surprisingly, the CannotPullError still exists. Maybe i’m on the wrong path…
It builds,
It pushes,
and fails in the first step of the cdk stack with that message.
Maybe anyone of you experienced similar issues, or can give me a hint, how to handle this. I’m running out of ideas.
Thanks in advance
Adrian