Don't work on rpi
dubcl opened this issue · comments
Hi, testing the image on a rpi3 won't work, I use the example from "how to use" and fail by exec format.
root@raspberrypi:~/uvicorn# tree
├── app
│ └── main.py
└── Dockerfile
root@raspberrypi:~/uvicorn# docker build -t myimage .
Sending build context to Docker daemon 3.584kB
Step 1/4 : FROM tiangolo/uvicorn-gunicorn:python3.8
python3.8: Pulling from tiangolo/uvicorn-gunicorn
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
98fd06fa8c53: Pull complete
7b9cc4fdefe6: Pull complete
e8e1fd64f499: Pull complete
5a722254cee3: Pull complete
9865e006dbdf: Pull complete
2195ebdd17f8: Pull complete
3f9ecd21cf9b: Pull complete
65523a4c97ba: Pull complete
fddbe8c99de3: Pull complete
e5a0e888eefe: Pull complete
Digest: sha256:a55797175d2824029335b35ac78ccd92a854eb76ed492ecbee045bf382ccbb7d
Status: Downloaded newer image for tiangolo/uvicorn-gunicorn:python3.8
---> 352c37cc4a7e
Step 2/4 : LABEL maintainer="Sebastian Ramirez <tiangolo@gmail.com>"
---> Running in dacc07b3e52e
Removing intermediate container dacc07b3e52e
---> 8cff09d9216f
Step 3/4 : RUN pip install --no-cache-dir fastapi
---> Running in c365e6b9ff9c
standard_init_linux.go:211: exec user process caused "exec format error"
The command '/bin/sh -c pip install --no-cache-dir fastapi' returned a non-zero code: 1
is possible add support for arm?, cheers.
duplicated #5
Thanks for reporting back and closing the issue 👍