-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ubuntu Dockerfile for testing with valgrind
- Loading branch information
1 parent
c07c55c
commit 8623240
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM ubuntu:latest | ||
|
||
RUN set -e; \ | ||
apt-get update; \ | ||
apt-get install -y \ | ||
autoconf \ | ||
build-essential \ | ||
git \ | ||
libreadline-dev \ | ||
libncurses5-dev \ | ||
valgrind \ | ||
; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY . /pipeline | ||
WORKDIR /pipeline | ||
|
||
RUN set -e; \ | ||
autoreconf -fi; \ | ||
./configure; \ | ||
make install | ||
|
||
ENV LANG C.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
valgrind --log-file=valgrind.log --track-origins=yes ./pipeline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters