We recently moved from a docker-in-docker build to a kaniko base build. Kaniko didn't like the simulator build due to the symlink pointing to themselves. Not sure if this was intentionally? Maybe to keep the image size small?
This PR creates the necessary symlinks + copies the real librarys (not just symlinks) from the first build step.
Here is a filesystem excerpt after the first build stage.
There you can see that e.g. libnopoll.so is a symlink and not the lib itself.
We recently moved from a docker-in-docker build to a kaniko base build. Kaniko didn't like the simulator build due to the symlink pointing to themselves. Not sure if this was intentionally? Maybe to keep the image size small?
This PR creates the necessary symlinks + copies the real librarys (not just symlinks) from the first build step.
Here is a filesystem excerpt after the first build stage. There you can see that e.g. libnopoll.so is a symlink and not the lib itself.
HINT: This PR builds parodus based on
ad2d43b4f6e980a6cc1c1340fc82564104eb1dd8
as the build from parodus/master is broken.