From fe276be4a9f56095a4e44776a4854cac09be0119 Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Tue, 18 May 2021 11:28:16 +0100 Subject: [PATCH] feat(dev): add gdb Required for local or remote debugging. Closes: zmkfirmware/zmk-docker#7 PR: zmkfirmware/zmk-docker#54 --- .github/workflows/containers.yml | 2 ++ Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 0d1358a..e13c6cc 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -402,6 +402,8 @@ jobs: run: pager --version && [[ $PAGER = "less" ]] && true || false - name: Test ssh run: ssh -V + - name: Test gdb + run: gdb --version - name: Stop container shell: bash run: docker stop candidate diff --git a/Dockerfile b/Dockerfile index 70a2788..83a3f96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,6 +50,7 @@ RUN \ && apt-get -y install --no-install-recommends \ clang-format \ g++-multilib \ + gdb \ gpg \ gpg-agent \ less \