srcml/codespaces

By srcml

Updated 17 days ago

Additional packages for GitHub Codespace base C++ image

Image
Languages & Frameworks
Integration & Delivery
1

10K+

Extension of GitHub Codespaces default image for C++ with added packages for:

  • gh - GitHub CLI
  • asciinema - Record terminal screencasts
  • cmake - v3.29
  • ninja - make replacement
  • srcml - Convert to/from srcML format
  • hyperfine - benchmarking tool
  • libarchive-dev - for development using libarchive which reads and writes compressed and archived files, file
  • autoconf, autotools-dev - Generate configuration scripts. Demonstration purposes only.
  • graphviz - Graph drawing tools using dot notation

In addition, the container is configured for:

  • locale set to en_US.UTF-8
  • local timezone set to America/New_York
  • permissions for installation in /usr/local/bin
  • architectures linux/amd64 and linux/arm64

To use for GitHub Codespaces, add the file .devcontainer.json to your root directory with the following contents:

{
    "name": "Updated C++ Environment",
    "image": "srcml/codespaces",
    "settings": {
        "terminal.integrated.shell.linux": "/bin/bash"
    }
}

To run directly on your source directory:

docker run -v "${PWD}":/Source --workdir /Build -it srcml/codespaces

Docker Pull Command

docker pull srcml/codespaces