mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
kube-addons: Use python container if python is not found on the machine.
To build the python image, BUILD_PYTHON_IMAGE should be set during make. When the addon script is running, it will check if python is installed on the machine, if not, it will use the python image that built previously.
This commit is contained in:
3
cluster/addons/python-image/Dockerfile
Normal file
3
cluster/addons/python-image/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM python:2.7-slim
|
||||
|
||||
RUN pip install pyyaml
|
||||
Reference in New Issue
Block a user