aws-samples / aws-samples/aws-lex-conv-faq

[Error] exec ./entrypoint.sh: exec format error

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
6
PR merge metrics
No merged PRs in 30d

Description

When I run `cdk synth` on an M1 Mac, my endpoint health checks fail with the following CloudWatch logs:

`exec ./entrypoint.sh: exec format error`

I have read that this is due to architecture incompatibilities when building on an M1 chip - however I'm not quite sure where in the repository I should update the target platform configuration (one of the included Docker images? An HuggingFace image change? Something else?)

Thanks for any advice.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Docker images and target platform configuration used by `cdk synth`, then compare the built architecture with the M1 Mac and the CloudWatch error. Check whether the included or HuggingFace image is responsible; done means the endpoint health checks no longer report `exec format error`.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, huggingface, python
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.