Linux driver changes when building lx2160a_build with docker

Hello,

I have been using these 2 commands to build the lx2160a_build image with docker.

docker build -t lx2160a_build docker
docker run --rm -i -t -v “$PWD”:/work lx2160a_build -u $(id -u) -g $(id -g)

I was able to see u-boot changes I made but the changes I made to the Linux drivers are not seen.
I have tried adding pr_info statements and modify existing pr_info statements that I see in dmesg and boot log but I don’t see the changes I made.

Is there something that I am missing when building lx2160a_build? Do I have to compile the Linux drivers before running the docker run command?
Sorry I don’t have much experience with docker.

Thanks.

It looks like the way the Docker is configured, the Linux driver code can’t be modified. Can someone help me confirm this? If not, is there a way to modify the scripts or Dockerfile to allow changes made to the build/linux/drivers code appeared in the final image?