initial Dockerfile commit
This commit is contained in:
parent
ce883fcf97
commit
f01f68abfa
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#use 32-bit ubuntu 12.04 required by valgrind. 64-bit has some known issues
|
||||||
|
from shawn/ubuntu-precise-i386
|
||||||
|
MAINTAINER David Liu <email4dliu@gmail.com>
|
||||||
|
|
||||||
|
LABEL Description="Do your C/C++ development in Docker container. Based on Ubuntu, and added build-essential and valgrind so you can use g++/gcc/gdb/valgrind."
|
||||||
|
|
||||||
|
|
||||||
|
#adds gcc valgrind
|
||||||
|
run apt-get install -y build-essential valgrind
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
CMD /bin/bash
|
6
README.md
Normal file
6
README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Dockerfiles for building with g++/gcc on Ubuntu with valgrind and gdb
|
||||||
|
|
||||||
|
Getting Valgrind to work is a pain on non-Linux systems like Windows and MacOS. dliu/ubuntu-gcc-valgrind is an image that combines Valgrind with the normal build chains for C/C++ including gdb, gcc, g++, etc.
|
||||||
|
|
||||||
|
|
||||||
|
|
3
build.sh
Executable file
3
build.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
# To build the image from Dockerfile, use this command:
|
||||||
|
#docker build -t="dliu/valgrind" .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user