turborepo-remote-cache icon indicating copy to clipboard operation
turborepo-remote-cache copied to clipboard

Not running in AWS EC2 T4g instance

Open maurobender opened this issue 9 months ago • 1 comments

The latest uploaded image to Docker Hub seems to don't have support for arm64 architecture.

Previous images v2.1.2 and 2.1.1 seem to have support for arm64 but I'm getting the same error when running them in the T4g instance.

Image v2.1.0 has support and works fine in the instance.

🐛 Bug Report

Trying to run the image in a AWS t4g instance (arm64 based) does not work, the logs show the following error:

exec /usr/bin/dumb-init: exec format error

To Reproduce

Run the image using docker in a arm64 based machine.

Expected behavior

The image running without errors.

Your Environment

  • os: Linux 22.04.1-Ubuntu SMP Fri Apr 5 17:56:39 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

maurobender avatar May 08 '24 10:05 maurobender

There was a bug in the docker image creation step only for latest tag. As workaround, use latest version with a semver tag.

Let me know

matteovivona avatar Jun 10 '24 09:06 matteovivona

@matteovivona I experienced this issue and your workaround worked for me. Are there plans to update the docker image creation step for the latest tag to fix the issue?

thekevinbrown avatar Jul 18 '24 03:07 thekevinbrown

@thekevinbrown unfortunately, the official docker action cannot push the latest on multi arch. so since it was not even a correct approach to use the latest, we simply deleted the tag

matteovivona avatar Jul 18 '24 08:07 matteovivona

No worries, thanks for the info!

thekevinbrown avatar Jul 19 '24 03:07 thekevinbrown