From 7033f7f7c4fb922453192b8091533a5c804e4174 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Thu, 23 Mar 2017 22:31:25 -0400 Subject: [PATCH] chore: add `libyaml-dev` to GNU/Linux Docker dependencies (#1204) `pip install awscli` outputs the following warning: ``` Running setup.py install for PyYAML checking if libyaml is compilable i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory #include ^ compilation terminated. libyaml is not found or a compiler error: forcing --without-libyaml (if libyaml is installed correctly, you may need to specify the option --include-dirs or uncomment and modify the parameter include_dirs in setup.cfg) ``` The installation gracefully continues anyway (the `--without-libyaml` is automatically forced). Signed-off-by: Juan Cruz Viotti --- scripts/build/docker/Dockerfile-i686 | 1 + scripts/build/docker/Dockerfile-x86_64 | 1 + scripts/build/docker/Dockerfile.template | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/build/docker/Dockerfile-i686 b/scripts/build/docker/Dockerfile-i686 index d86a3248..5fc398b2 100644 --- a/scripts/build/docker/Dockerfile-i686 +++ b/scripts/build/docker/Dockerfile-i686 @@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \ libnss3 \ libxss1 \ libxtst6 \ + libyaml-dev \ python \ python-pip \ python-dev \ diff --git a/scripts/build/docker/Dockerfile-x86_64 b/scripts/build/docker/Dockerfile-x86_64 index 855738a1..130911aa 100644 --- a/scripts/build/docker/Dockerfile-x86_64 +++ b/scripts/build/docker/Dockerfile-x86_64 @@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \ libnss3 \ libxss1 \ libxtst6 \ + libyaml-dev \ python \ python-pip \ python-dev \ diff --git a/scripts/build/docker/Dockerfile.template b/scripts/build/docker/Dockerfile.template index d68b299f..0ca0b10f 100644 --- a/scripts/build/docker/Dockerfile.template +++ b/scripts/build/docker/Dockerfile.template @@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \ libnss3 \ libxss1 \ libxtst6 \ + libyaml-dev \ python \ python-pip \ python-dev \