Skip to content

Added Dockerfile.#122

Open
cardboardcode wants to merge 1 commit intoosrf:masterfrom
cardboardcode:feature/dockerise
Open

Added Dockerfile.#122
cardboardcode wants to merge 1 commit intoosrf:masterfrom
cardboardcode:feature/dockerise

Conversation

@cardboardcode
Copy link
Contributor

@cardboardcode cardboardcode commented Jul 23, 2025

Purpose Of Pull Request 🔖

This Pull Request (PR) is just to add a Dockerfile that may prove useful for anyone looking to set up ros2multirobotbook locally without worrying about environment dependency conflicts.

Summary Of Edits 📚

  • Added Dockerfile to project root.

Test 📘

Follow the instructions below on how to effectively use the proposed Dockerfile.

  1. Download repository:
git clone https://github.com/cardboardcode/ros2multirobotbook --branch feature/dockerise --depth 1 --single-branch && cd ros2multirobotbook
  1. Build the docker image:
docker build --tag ros2multirobotbook:latest .
  1. Run the docker image as container:
docker run -it --rm \
	--name ros2multirobotbook_c \
	-v ./book:/ros2multirobotbook/book \
	-v ./src:/ros2multirobotbook/src \
ros2multirobotbook:latest bash -c "mdbook build"
  1. View the documentation:
xdg-open book/index.html

You can edit the files as you view it. Refresh your browser whenever changes are made.

Signed-off-by: gary.bey <gary.bey@kabam.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant