https://github.com/messeb/docker-valgrind
Docker environment with gcc and valgrind
https://github.com/messeb/docker-valgrind
Last synced: about 1 year ago
JSON representation
Docker environment with gcc and valgrind
- Host: GitHub
- URL: https://github.com/messeb/docker-valgrind
- Owner: messeb
- Created: 2014-12-06T21:50:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-07T10:33:21.000Z (over 11 years ago)
- Last Synced: 2025-02-11T04:11:46.234Z (over 1 year ago)
- Size: 145 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Valgrind Docker environment
===========================
Docker environment with gcc and valgrind
### build the docker image
$ sudo docker build --rm --tag valgrind .
### run the docker container
$ 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
### enter the container
$ 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.