Closed MMquant closed 1 year ago
Thanks, we will check it
I checked it now and it worked, I wasn't able to reproduce the bug:
Step 6/12 : RUN pip3 install -r requirements.txt
---> Running in eb68cd564a4d
Collecting kubernetes==11.0.0
Downloading https://files.pythonhosted.org/packages/59/46/d4b9364fcab59b5f9248e014c7592df8de84ad6548a6fe3de2d805bb75fc/kubernetes-11.0.0-py3-none-any.whl (1.5MB)
Collecting PTable==0.9.2
Downloading https://files.pythonhosted.org/packages/ab/b3/b54301811173ca94119eb474634f120a49cd370f257d1aae5a4abaf12729/PTable-0.9.2.tar.gz
Collecting urllib3>=1.24.2
Downloading https://files.pythonhosted.org/packages/65/0c/cc6644eaa594585e5875f46f3c83ee8762b647b51fc5b0fb253a242df2dc/urllib3-1.26.13-py2.py3-none-any.whl (140kB)
Collecting requests
It seems that it can't find the package kubernetes==11.0.0
:
ERROR: Could not find a version that satisfies the requirement kubernetes==11.0.0 (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for kubernetes==11.0.0 (from -r requirements.txt (line 1))
Can you try to change the requirement.txt
to kubernetes
instead of kubernetes==11.0.0
and see if it works?
Solution
$ service docker restart
References and more solutions
Cool, thank you for sharing :)
What happened (please include outputs or screenshots):
There is a dependecy issue in the Dockerfile in pip requirements. The docker image cannot be built.
What you expected to happen:
Build the kubiscan docker image.
How to reproduce it (as minimally and precisely as possible):
Tested on repository with the latest commit b8e7f427692953d59284eb8d23033371c9026bdb Clone the repo and run
$ docker build -t kubiscan .
Anything else we need to know?:
Environment: