-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
16 lines (11 loc) · 732 Bytes
/
Dockerfile
File metadata and controls
16 lines (11 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.13-slim
LABEL org.opencontainers.image.title="gpu-node-vsphere-maintenance-controller"
LABEL org.opencontainers.image.description="Kubernetes controller that automates ESXi maintenance mode for worker nodes with PCI passthrough (GPU or otherwise)."
LABEL org.opencontainers.image.source="https://github.com/Varashi/gpu-node-vsphere-maintenance-controller"
LABEL org.opencontainers.image.documentation="https://github.com/Varashi/gpu-node-vsphere-maintenance-controller/blob/main/README.md"
LABEL org.opencontainers.image.licenses="MIT"
WORKDIR /app
RUN pip install --no-cache-dir --disable-pip-version-check \
pyVmomi==8.0.3.0.1 kubernetes==31.0.0
COPY controller.py .
CMD ["python", "-u", "controller.py"]