docker: install ca-certificates package in base image
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 2 Jun 2017 18:56:11 +0000 (15:56 -0300)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Jun 2017 14:01:48 +0000 (15:01 +0100)
Resolve SSL verification issue at shippable container's git_sync stage:

shippable logs:
--------------
git_sync
- ssh-agent bash -c 'ssh-add /tmp/ssh/01_deploy; git clone https://github.com/philmd/qemu.git /root/src/github.com/philmd/qemu'
Identity added: /tmp/ssh/01_deploy (rsa w/o comment)
Cloning into '/root/src/github.com/philmd/qemu'...
fatal: unable to access 'https://github.com/philmd/qemu.git/': Problem with the SSL CA cert (path? access rights?)
retrying 1 of 3 times...

Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[AJB: fixed re-base conflict following stretch updates]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/docker/dockerfiles/debian.docker

index 4ca6ecaad0dc80cfa9fbe1fd45734b68ba1b501e..e44ce2f1c052d521109b17cc801e7525f5c25480 100644 (file)
@@ -14,4 +14,4 @@ RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list
 
 # Install common build utilities
 RUN apt update
-RUN apt install -yy build-essential clang
+RUN apt install -yy build-essential clang ca-certificates