Update the Dockerfile style to the latest convention.
Based on testing, compiling an amd64 docker image on an AMD architecture computer takes about 35 minutes. Cross-compiling takes approximately 5 to 6 hours, while on an NVIDIA Orin with arm64 docker image, it takes around an hour and a half.
In this PR, I have done the following:
Based on testing, compiling an amd64 docker image on an AMD architecture computer takes about 35 minutes. Cross-compiling takes approximately 5 to 6 hours, while on an NVIDIA Orin with arm64 docker image, it takes around an hour and a half.