问题
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