Skip to content

Feature: Add BUILD_DEBUG argument when building Docker image #751

Open
@oobayly

Description

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 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions