Skip to content

Dockerised btcpp_sample #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cardboardcode
Copy link

@cardboardcode cardboardcode commented Jul 15, 2025

Purpose Of Pull Request 🔖

Hi @facontidavide, thank you for this simple example of using BehaviorTree.CPP. Just started learning to use Behavior Trees in my own projects and your guides have been very helpful.

The PR is to simply add a verified Dockerfile to allow newcomers to easily set up and run btcpp_sample.

Steps To Reproduce 📚

  1. Download the repository:
git clone https://github.com/cardboardcode/btcpp_sample.git --depth 1 --single-branch --branch feature/dockerise && cd btcpp_sample
  1. Build the docker image:
docker build -t btcpp_sample:latest .
  1. Run btcpp_sample in a docker container:
docker run -it --rm \
	--name btcpp_sample_c \
btcpp_sample:latest bash -c "./btcpp_sample"

Verify ✔️

You should see the following output to know that it worked:

this works too
The answer is 42

…conflicting environment dependencies.

Signed-off-by: gary.bey <[email protected]>
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