We should enable some AOT tests for non AOT images. This will allow us to test AOT functionality outside of just the nightly repos, which is an important and supported use-case.
This would mean:
Install the necessary packages on the SDK images in the test Dockerfile (similar to how a customer would do it - see releasesapi/Dockerfile.debian for an example). This of course would be only for these AOT tests and not apply to all test Dockerfiles.
Run the AOT compiled application on the runtime-deps image
See the description of Fix AOT tests in nightly (#6065) for context.
We should enable some AOT tests for non AOT images. This will allow us to test AOT functionality outside of just the nightly repos, which is an important and supported use-case.
This would mean:
releasesapi/Dockerfile.debian
for an example). This of course would be only for these AOT tests and not apply to all test Dockerfiles.runtime-deps
image