Skip to content

Commit 3f65af4

Browse files
authored
Add more developer-tools (#57)
* Add more developer-tools "gh" for GitHub interaction, and gdb for debugging. * simpler call to install
1 parent 4e558ba commit 3f65af4

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/s-core-devcontainer/.devcontainer/s-core-local/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ apt-get install -y protobuf-compiler="${protobuf_compiler_version}*"
3333
# Git and Git LFS, via APT
3434
apt-get install -y git
3535
apt-get install -y git-lfs
36+
apt-get install -y gh
3637

3738
# Python, via APT
3839
apt-get install -y python${python_version} python3-pip python3-venv
@@ -105,6 +106,9 @@ apt-get install -y --no-install-recommends --fix-broken qemu-system-arm="${qemu_
105106
# sshpass
106107
apt-get install -y sshpass="${sshpass_version}*"
107108

109+
# additional developer tools
110+
apt-get install -y gdb
111+
108112
# Bash completion for rust tooling
109113
rustup completions bash rustup >> /etc/bash_completion.d/rustup.bash
110114
rustup completions bash cargo >> /etc/bash_completion.d/cargo.bash

src/s-core-devcontainer/.devcontainer/s-core-local/tests/test_default.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ check "validate buildifier is working and has the correct version" bash -c "buil
4141
check "validate starpls is working and has the correct version" bash -c "starpls version | grep '${starpls_version}'"
4242
check "validate bazel-compile-commands is working and has the correct version" bash -c "bazel-compile-commands --version 2>&1 | grep '${bazel_compile_commands_version}'"
4343

44+
# additional developer tools
45+
check "validate gdb is working and has the correct version" bash -c "gdb --version | grep '${gdb_version}'"
46+
check "validate gh is working and has the correct version" bash -c "gh --version | grep '${gh_version}'"
47+
4448
# Qemu target-related tools
4549
check "validate qemu-system-aarch64 is working and has the correct version" bash -c "qemu-system-aarch64 --version | grep '${qemu_system_arm_version}'"
4650
check "validate sshpass is working and has the correct version" bash -c "sshpass -V | grep '${sshpass_version}'"

src/s-core-devcontainer/.devcontainer/s-core-local/versions.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ git_lfs:
1919
python:
2020
version: "3.12"
2121

22+
gdb:
23+
version: "15.0.50"
24+
25+
gh:
26+
version: "2.45.0"
27+
2228
bazel:
2329
# https://github.com/bazelbuild/bazel/releases -- latest version as of 2025-09-24
2430
version: 8.4.1

0 commit comments

Comments
 (0)