fix(kubernetes): add kubernetes requirements
This commit is contained in:
parent
977b5bca85
commit
3bd3f23482
2 changed files with 16 additions and 2 deletions
|
@ -9,6 +9,8 @@ ENV PYTHONUNBUFFERED=1 \
|
||||||
# As the k8s Python client does not yet support k8s 1.32, the updated client has been temporarily moved to the repo.
|
# As the k8s Python client does not yet support k8s 1.32, the updated client has been temporarily moved to the repo.
|
||||||
# So the installation is currently not needed.
|
# So the installation is currently not needed.
|
||||||
# RUN pip install kubernetes
|
# RUN pip install kubernetes
|
||||||
|
# COPY main.py /
|
||||||
|
|
||||||
COPY main.py /
|
RUN pip install -r kubernetes/requirements.txt
|
||||||
CMD python /main.py
|
|
||||||
|
CMD python main.py
|
||||||
|
|
12
kubernetes/requirements.txt
Normal file
12
kubernetes/requirements.txt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
certifi>=14.05.14 # MPL
|
||||||
|
six>=1.9.0 # MIT
|
||||||
|
python-dateutil>=2.5.3 # BSD
|
||||||
|
setuptools>=21.0.0 # PSF/ZPL
|
||||||
|
pyyaml>=5.4.1 # MIT
|
||||||
|
google-auth>=1.0.1 # Apache-2.0
|
||||||
|
websocket-client>=0.32.0,!=0.40.0,!=0.41.*,!=0.42.* # LGPLv2+
|
||||||
|
requests # Apache-2.0
|
||||||
|
requests-oauthlib # ISC
|
||||||
|
oauthlib>=3.2.2 # BSD
|
||||||
|
urllib3>=1.24.2 # MIT
|
||||||
|
durationpy>=0.7 # MIT
|
Reference in a new issue