https://github.com/micro-ROS/docker/blob/iron/micro-ROS-static-library-builder/Dockerfile
In micro-ROS-static-library-builder is :
ENTRYPOINT ["/entrypoint.sh"]
It should be changed to the following link:
https://github.com/micro-ROS/docker/blob/iron/micro-ROS-Agent/Dockerfile
In micro-ROS-Agent is:
ENTRYPOINT ["/bin/sh", "/micro-ros_entrypoint.sh"]
The above micro-ROS-static-library-builder example will have permission issues, causing it to not work properly when running docker.