Sign inSign up

amrswe/cpp-utils

By amrswe

•Updated over 1 year ago

Aimed at running CI/CD pipelines with GoogleTest and essential C++ development tools.

Image
Languages & frameworks
Integration & delivery
0

10K+

amrswe/cpp-utils repository overview

⁠C++ Utils

This repository includes the necessary configuration to build a Docker image for running CI/CD pipelines on C++ projects. The image includes essential development tools and libraries, and is designed to work seamlessly with GitHub Actions.

⁠Key Components

  • dependencies.txt: Lists all the required packages to be installed.
  • Dockerfile: Defines the Docker image, including the installation of dependencies and Googletest setup.

⁠dependencies.txt

build-essential
clang-format
cmake
cppcheck
curl
g++-10
lcov
libc6-dbg
libgmock-dev
libgtest-dev
ninja-build
valgrind

⁠Dockerfile

FROM node:16-bullseye-slim

WORKDIR /app

COPY dependencies.txt .

# Install dependencies
RUN \
  apt-get update && \
  xargs apt-get install -y < dependencies.txt

# Set the default C++ compiler
RUN export CXX=/usr/bin/g++-10

CMD ["bash"]

⁠Usage

The Docker image can be used to run a complete CI/CD pipeline, for more details and to view the CI/CD pipeline in action, visit the GitHub repository⁠.

Tag summary

Content type

Image

Digest

sha256:f8ac1f281…

Size

385.5 MB

Last updated

over 1 year ago

docker pull amrswe/cpp-utils