Skip to content
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

Feature: Add BUILD_DEBUG argument when building Docker image #751

Open
oobayly opened this issue Sep 9, 2024 · 0 comments
Open

Feature: Add BUILD_DEBUG argument when building Docker image #751

oobayly opened this issue Sep 9, 2024 · 0 comments

Comments

@oobayly
Copy link
Contributor

oobayly commented Sep 9, 2024

When creating #750 I needed to be enable debugging for the docker image. Passing an optional BUILD_DEBUG argument with a non-empty value:

  • Runs cmake with the -DCMAKE_BUILD_TYPE=Debug flag
  • Doesn't strip the executables after they're build
  • Installs gdb

docker build --build-arg BUILD_DEBUG=1 --tag tilemaker/debug .

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

No branches or pull requests

1 participant