From c8d5e8b1798d74bdae3f4e397d3d337623fb8184 Mon Sep 17 00:00:00 2001
From: Tom Downes <tpdownes@gmail.com>
Date: Wed, 13 Feb 2019 23:26:54 -0600
Subject: [PATCH] Add osg-ca-certs package to facilitate validation of client
 certificates

---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 2b6259467..4754048e4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,9 +7,8 @@ ARG SETTINGS_MODULE="config.settings.container.dev"
 COPY docker/SWITCHaai-swdistrib.gpg /etc/apt/trusted.gpg.d
 RUN echo 'deb http://pkg.switch.ch/switchaai/debian stretch main' > /etc/apt/sources.list.d/shibboleth.list
 RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
-# the previous command executes apt-get update; if it is removed
-# one must add RUN apt-get update
-RUN apt-get install --install-recommends --assume-yes \
+RUN apt-get update && \
+    apt-get install --install-recommends --assume-yes \
         apache2 \
         gcc \
         git \
@@ -21,6 +20,7 @@ RUN apt-get install --install-recommends --assume-yes \
         libsqlite3-dev \
         mariadb-client \
         nodejs \
+        osg-ca-certs \
         python2.7 \
         python2.7-dev \
         python-glue \
-- 
GitLab