From 3acba5f1f50141c2274d539723d84ce923b56afd Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 26 Feb 2021 18:17:59 +0200
Subject: [PATCH] Workaround a package installation issue.

---
 sogo/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sogo/Dockerfile b/sogo/Dockerfile
index e6f8e3a..f446b6f 100644
--- a/sogo/Dockerfile
+++ b/sogo/Dockerfile
@@ -24,6 +24,10 @@ COPY --from=repo-key /gnupghome/inverse.gpg /usr/share/keyrings/
 COPY inverse.sources /etc/apt/sources.list.d/
 # hadolint ignore=DL3008
 RUN apt-get update && \
+    # FIXME: There's an issue with the sogo package configure script, this is a
+    # hackish workaround. The error is: chmod: cannot access
+    # '/usr/share/doc/sogo/*.sh': No such file or directory
+    mkdir -p /usr/share/doc/sogo/ && touch /usr/share/doc/sogo/foo.sh && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
         sogo-activesync \
         sogo \
-- 
GitLab