Sign inSign up

frankwolf/conan2

By frankwolf

Updated 6 months ago

Image
Developer tools
0

2.7K

frankwolf/conan2 repository overview

C++ Development Toolchain with Conan 2

A comprehensive C++ development and CI/CD environment based on Ubuntu Noble (24.04 LTS) with Conan 2 package manager and a complete suite of modern C++ development tools.

Features

Core Compilers & Build Tools:

  • GCC and Clang/LLVM toolchains
  • CMake build system
  • Make and build-essential
  • pkg-config

Code Quality & Analysis:

  • clang-tidy - Static analysis and linting
  • clang-format - Code formatting
  • cppcheck - Static code analysis
  • cpplint - Style checker for C/C++
  • cppclean - Find unused code
  • flawfinder - Security vulnerability scanner
  • lizard - Code complexity analyzer
  • lcov - Code coverage reporting

Package Management:

  • Conan 2.x - Modern C/C++ package manager

Development Utilities:

  • Git version control
  • Python 3 with pip and venv
  • SSH client
  • Various development libraries (libusb, libudev, libnsl)

Additional Tools:

  • junit2html - Test report conversion
  • pipx for isolated Python tool installation

Quick Start

# Pull the image
docker pull frankwolf/conan2:latest

# Run interactively
docker run -it --rm -v $(pwd):/data frankwolf/conan2:latest

# Build a C++ project with Conan
docker run --rm -v $(pwd):/data frankwolf/conan2:latest \
  bash -c "conan install . && cmake --preset conan-release && cmake --build --preset conan-release"

Use Cases

  • C++ project development and testing
  • CI/CD pipelines for C++ applications
  • Cross-platform C++ builds
  • Static analysis and code quality checks
  • Learning and experimenting with modern C++ tooling

User Configuration

The image runs as the unprivileged ubuntu user (UID 1000, GID 1000) with passwordless sudo access for security best practices. The working directory is /data for easy volume mounting.

Tag summary

Content type

Image

Digest

sha256:97faca288

Size

1.3 GB

Last updated

6 months ago

docker pull frankwolf/conan2