Coder Social home page Coder Social logo

docker-valgrind's Introduction

Docker-Valgrind

Docker Build Status

The container exposes a leading edge version of valgrind and decent cmake and g++ installations. The idea is to mount the root directory of your project to /input (read-only), compile it in the container to a temporary directory and show the logged output. For example, consider the test project we provide in test/:

> tree test/
test/
├── CMakeLists.txt
└── test.cxx

The WORKDIR is set to /home/valgrind/build, such that one can safely compile this test project after mounting -v "$SRC":/input:ro , via cmake /input/ && make. Since WORKDIR is not part of a mounted volume, the result does not appear outside of the container. This workflow can conveniently be wrapped in a shell script, for instance as we did in valgrind.sh.

Docker Pull Command

The container is accessible via the Docker Hub: docker pull avitase/docker-valgrind. You can create your own Dockerfile and install additional dependencies of your project via apk, for example:

FROM avitase/docker-valgrind:latest

USER root
apk add --update gtest

USER ${USERNAME}

docker-valgrind's People

Contributors

avitase avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.