aws-samples / aws-samples/aws-lambda-docker-serverless-inference
sam build files on xgboost-inference-arm64-docker-lambda
- Lingua principale
- Jupyter Notebook
- Stelle
- 101
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
clean build fails as shown below -- basically blocks ability to develop/deploy arm64/graviton functions
```
Status: Downloaded newer image for public.ecr.aws/lambda/python:3.8-arm64 ---> f7892dec0f19
Step 2/7 : COPY requirements.txt ./
---> f326d820d212
Step 3/7 : RUN python3.8 -m pip install -r requirements.txt -t .
---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
---> Running in 18c403fbd949
exec /bin/sh: exec format error
Build Failed
Error: XGBoostInferenceArm64Function failed to build: The command '/bin/sh -c python3.8 -m pip install -r requirements.txt -t .' returned a non-zero code: 1
```
system info:
```
$ uname -a
Linux ### 5.19.0-42-generic #43~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 21 16:51:08 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the clean build for XGBoostInferenceArm64Function on the reported x86_64 Ubuntu host, using the requirements.txt step shown in the failure. Inspect the function's Docker and AWS SAM build configuration; done means the arm64 image builds successfully without the exec format error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, docker, python
- Ambito
- build-system, cloud, devops
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100