Stick to go1.25 for now, since using go1.26 causing a runtime panic when building arm platforms.
Using the same approach as in cd mode, but do it only once when running ctrld the first time, then the config will be re-used then. While at it, also adding Dockerfile.debug for better troubleshooting with alpine base image.