Building a5y17lte from docker fails with "Can't detect the android version"

Try this way. Your device is unsupported by lineage, that’s why this way fits better
https://community.e.foundation/t/howto-build-e-without-docker-for-non-lineageos-supported-devices/3991