Symlink is gone after composer update
The current best practice is to have a DistributionPackages folder and then symlink the packages. I also do that and at the beginning everything is fine.
From time to time I had the issue that in the container the symlink was gone and the code was just copied. So that the sync did not work anymore.
After some days of monitoring I now can say that this always happens when I execute a composer update package from the guest system. At the moment I always go inside the container and fix that for me.
I use:
- Mac with MacOS 10.14.5
- docker version 18.09.3
- zsh 5.3
- composer version 1.7.2