ci/Dockerfile: Add openssl devel dependencies

Needed by kernel module signing.

Fixes: https://github.com/open-power/op-build/issues/960
Fixes: 034ff11c71f3ea49186781543dd3b6e88b191996
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
diff --git a/ci/Dockerfile/fedora25 b/ci/Dockerfile/fedora25
index 9414efc..433f948 100644
--- a/ci/Dockerfile/fedora25
+++ b/ci/Dockerfile/fedora25
@@ -3,4 +3,4 @@
 RUN dnf -y install gcc-c++ flex bison git ctags cscope expat-devel patch zlib-devel zlib-static texinfo perl-bignum "perl(XML::Simple)" "perl(YAML)" "perl(XML::SAX)" "perl(Fatal)" "perl(Thread::Queue)" "perl(Env)" "perl(XML::LibXML)" "perl(Digest::SHA1)" libxml2-devel libxslt "perl(ExtUtils::MakeMaker)"
 RUN dnf -y install which wget unzip tar cpio python bzip2 bc vim redhat-lsb-core
 RUN dnf -y install findutils
-RUN dnf -y install ncurses-devel
+RUN dnf -y install ncurses-devel openssl-devel
diff --git a/ci/Dockerfile/ubuntu1404 b/ci/Dockerfile/ubuntu1404
index 8acb932..b3833c9 100644
--- a/ci/Dockerfile/ubuntu1404
+++ b/ci/Dockerfile/ubuntu1404
@@ -7,4 +7,4 @@
   python language-pack-en texinfo \
   build-essential g++ git bison flex unzip \
   libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc
-RUN DEBIAN_FRONTEND=noninteractive apt-get install -yy wget bc
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -yy wget bc libssl-dev