This hasn't been the case for the Docker-based services like GCP Cloud Run. As long as you have a container that has an HTTP server on 0.0.0.0:8080 you're good. You can run anything you want in the container.
https://docs.cloud.google.com/run/docs/container-contract