Docker environment with gcc and valgrind
$ sudo docker build --rm --tag valgrind .
$ sudo docker run --hostname valgrind --name valgrind -v [local/sourcecode/path]:/root/build -d -p 22021:22 valgrind
Replace [local/sourcecode/path] with the path to your source code on your host
$ ssh -p 22021 root@localhost # password = root
$ cd ~/build
Now, you have your source code from your host mounted in the container (~/build) and you can compile and test it.
Content type
Image
Digest
sha256:6356df6dd…
Size
188.7 MB
Last updated
almost 11 years ago
docker pull messeb/valgrind