diff mbox

[v1,04/23] docker: add debug tools to travis.docker

Message ID 20170717144848.11793-5-alex.bennee@linaro.org
State New
Headers show

Commit Message

Alex Bennée July 17, 2017, 2:48 p.m. UTC
When a test fails/hangs you don't want the hassle of getting the debug
tools installed. Lets install them on our image by default so we can
debug when we need to.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/docker/dockerfiles/travis.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Fam Zheng July 17, 2017, 10:43 p.m. UTC | #1
On Mon, 07/17 15:48, Alex Bennée wrote:
> When a test fails/hangs you don't want the hassle of getting the debug
> tools installed. Lets install them on our image by default so we can
> debug when we need to.

Makes sense for this image.

Reviewed-by: Fam Zheng <famz@redhat.com>

> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  tests/docker/dockerfiles/travis.docker | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker
> index a315f66ad9..636fa590a5 100644
> --- a/tests/docker/dockerfiles/travis.docker
> +++ b/tests/docker/dockerfiles/travis.docker
> @@ -2,5 +2,5 @@ FROM quay.io/travisci/travis-ruby
>  RUN apt-get update
>  RUN apt-get -y build-dep qemu
>  RUN apt-get -y build-dep device-tree-compiler
> -RUN apt-get -y install python2.7 python-yaml dh-autoreconf
> +RUN apt-get -y install python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools
>  ENV FEATURES pyyaml
> -- 
> 2.13.0
>
diff mbox

Patch

diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker
index a315f66ad9..636fa590a5 100644
--- a/tests/docker/dockerfiles/travis.docker
+++ b/tests/docker/dockerfiles/travis.docker
@@ -2,5 +2,5 @@  FROM quay.io/travisci/travis-ruby
 RUN apt-get update
 RUN apt-get -y build-dep qemu
 RUN apt-get -y build-dep device-tree-compiler
-RUN apt-get -y install python2.7 python-yaml dh-autoreconf
+RUN apt-get -y install python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools
 ENV FEATURES pyyaml