Files
virtual-kubelet/hack/skaffold/virtual-kubelet/Dockerfile
2025-01-08 10:59:24 +00:00

17 lines
680 B
Docker

FROM gcr.io/distroless/base
ENV APISERVER_CERT_LOCATION=/vkubelet-mock-0-crt.pem
ENV APISERVER_KEY_LOCATION=/vkubelet-mock-0-key.pem
ENV KUBELET_PORT=10250
# Use the pre-built binary in "bin/virtual-kubelet".
COPY bin/e2e/virtual-kubelet /virtual-kubelet
# Copy the configuration file for the mock provider.
COPY hack/skaffold/virtual-kubelet/vkubelet-mock-0-cfg.json /vkubelet-mock-0-cfg.json
# Copy the certificate for the HTTPS server.
COPY hack/skaffold/virtual-kubelet/vkubelet-mock-0-crt.pem /vkubelet-mock-0-crt.pem
# Copy the private key for the HTTPS server.
COPY hack/skaffold/virtual-kubelet/vkubelet-mock-0-key.pem /vkubelet-mock-0-key.pem
CMD ["/virtual-kubelet"]