Sign inSign up

brakmic/cppdev

By brakmic

Updated about 1 year ago

C++ Development Environment

Image
Languages & frameworks
0

10K+

brakmic/cppdev repository overview

C++ Development Environment in Docker

This repository provides a lightweight Docker image for modern C++ development, using Ubuntu 24.04 as the base and GCC/G++ 14 as the default compiler.

Features

  • Ubuntu 24.04 for a recent Linux environment
  • GCC/G++ 14 set as default compilers
  • Essential build tools: cmake, ninja-build, valgrind, etc.
  • Common utilities for networking and debugging (net-tools, iproute2, gdb, strace, etc.)
  • Non-root user cppdev with passwordless sudo

Getting Started

Pull the Image
docker pull brakmic/cppdev:latest
Run the Container
docker run -it --rm -v $(pwd):/workspace brakmic/cppdev:latest
  • -it starts an interactive session.
  • --rm cleans up the container after you exit.
  • -v $(pwd):/workspace mounts the current directory into the /workspace folder inside the container, so you can work with your local files.

Usage

Inside the container, you have:

  • GCC/G++ 14
  • cmake, ninja, and other build tools
  • git, nano, and other essential utilities

By default, you’ll be dropped into a bash shell as the cppdev user. Any changes in /workspace will be reflected on your host machine’s current directory due to the volume mount.

License

MIT

Tag summary

Content type

Image

Digest

sha256:683a1617c

Size

336.9 MB

Last updated

about 1 year ago

docker pull brakmic/cppdev