apt-get commands doesn't work in docker containers
If apt-get is working fine on the VM, you can build the container using network host mode.
docker build --network=host ...
If apt-get is working fine on the VM, you can build the container using network host mode.
docker build --network=host ...