It is recommended to change the calling method of the entrance

Open
#100 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
docker
Domain
devops

Research direction

Start with micro-ROS-static-library-builder/Dockerfile and compare its ENTRYPOINT with micro-ROS-Agent/Dockerfile. Reproduce the reported permission failure when running the static-library-builder image, then verify that the entrypoint change allows the Docker container to run correctly.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Dockerfile
Stars
59
Forks
32
Avg merge
16m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from micro-ROS/docker

All issues in micro-ROS/docker

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.