From e9460cdf2b5996b9da747bff0ecfc8524c0b776b Mon Sep 17 00:00:00 2001
From: Chris Bynum <chris.bynum@levvel.io>
Date: Fri, 29 Jul 2016 12:23:30 -0400
Subject: [PATCH] Adding and installing trusted certs

---
 Dockerfile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 88735c9..56812fb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,10 +15,15 @@ LABEL Build docker build --rm --tag $maintainer/$imagename .
 
 # Install base deps
 RUN yum -y install epel-release && yum -y update && yum clean all
-RUN yum -y install --setopt=tsflags=nodocs epel-release && \ 
+RUN yum -y install --setopt=tsflags=nodocs epel-release && \
     yum -y install net-tools wget curl tar unzip mlocate logrotate strace telnet man unzip vim wget rsyslog cron \
     yum -y update && yum clean all
 
+# Install Trusted Certificates
+RUN update-ca-trust force-enable
+ADD ./cert/InCommon.crt /etc/pki/ca-trust/source/anchors/
+RUN update-ca-trust extract
+
 # Set default environment variables.
 ENV HOME /root