standard_init_linux.go:211:exec user process caused “no such file or directory” with alpine linux and python

浪尽此生 提交于 2020-01-25 08:34:10

问题


I have a directory which contains the docker file, a attack.py and a requirements.txt.

Using that, I created the following dockerfile:

FROM arm64v8/python:3.7-alpine

COPY qemu-arm-static /usr/bin

COPY ./ app-ids
WORKDIR /app-ids

RUN pip install --no-cache-dir -r requirements.txt

CMD["python","./attack.py"]

However, the pip install line throws: standard_init_linux.go:211:exec user process caused "no such file or directory"

I can't figure out why. Using commands like ls, pwd and so on in an attempt to debug this yields the same error.

Can anyone explain what exactly I am doing wrong?

来源:https://stackoverflow.com/questions/58972541/standard-init-linux-go211exec-user-process-caused-no-such-file-or-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!