From 6d88216c423841b1f3ada601728a4349a7a7c156 Mon Sep 17 00:00:00 2001
From: Pierre Ozoux <pierre@ozoux.net>
Date: Tue, 17 Nov 2020 21:10:07 +0100
Subject: [PATCH] Fix s3 access.

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 8dedcca..24cd443 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -40,6 +40,7 @@ RUN curl http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add - \
  && curl --silent --location https://deb.nodesource.com/setup_${NODE_MAJOR}.x | bash - \
  && apt-get update && apt-get install -y --no-install-recommends \
       ${BUILD_DEPS} \
+      ca-certificates \
       brotli \
       ghostscript \
       gsfonts \
@@ -82,7 +83,7 @@ RUN curl http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add - \
  && bundle config build.nokogiri --use-system-libraries \
  && bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4 \
  && find /home/discourse/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} + \
- && apt-get remove -y --purge ${BUILD_DEPS} \
+ #&& apt-get remove -y --purge ${BUILD_DEPS} \
  #&& apt-get autoremove -y \
  && rm -rf /var/lib/apt/lists/*
 
-- 
GitLab