The docker to build TFLite is actually tflite-builder, not tensorflow:devel or tensorflow:devel-latest.
For using docker, I think following this section Reduce TensorFlow Lite binary size 4, and use the  build_aar_with_docker.sh script is more convenient than build_aar.sh. Note, that you need to run build_aar_with_docker.sh on the host machine (not inside a docker).