We walk through how you can build customised Azure Functions execution environments using Docker and then bundle up and run the resulting image on Kubernetes, benefiting from scaling driven by native events hooked by the Kubernetes Event-driven Architecture (KEDA) custom resource.