I am almost sure it is my mistake but here goes. My directory looks like this more or less (see https://github.com/campusrover/gpg_bran_balena for all of it)
./ros/ catkin_ws/ src/ gpg_bran ydlidar ./Dockerfile.template
and inside the template I copy the ros directory into the container:
COPY ./ros /ros
Which would cause a copy of that /ros directory to end up in on the device.
Now I am trying to get a change to what’s in the /ros directory onto the device, but it seems not to be going. I’ve tried it more than once gradually making it simpler to no avail.
Is it possible that docker decides to use a cached version because it doesn’t realize, notice that the directory that is going to be copied contains something different? In other words, “I copied that directory before so it must be in my cache”?
I find it hard to believe. But can you help me figure this out?