Replace SDK base image with alpine to lightweight build stage image.
Use dynamic package build for simplicity and decrease docker image layers.
Remove unnecessary RUN commands to change file and directory ownership for decrease docker image layers.
Remove unnecessary RUN command to install packages.
Replace SDK base image with alpine to lightweight build stage image. Use dynamic package build for simplicity and decrease docker image layers. Remove unnecessary RUN commands to change file and directory ownership for decrease docker image layers. Remove unnecessary RUN command to install packages.