From 2fecfe36317cd639666310bd08262c779b4638ad Mon Sep 17 00:00:00 2001
From: Stefan Hynek <stefan.hynek@uni-goettingen.de>
Date: Fri, 25 Feb 2022 13:44:16 +0100
Subject: [PATCH] build(docker): add an explaining comment to the added
 dependencies

possible solutions: download a pre-compiled binary; build in a pre-stage; replace icu with another lib
---
 Dockerfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index ca2ca36..2a6ca4b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,8 +15,11 @@ LABEL \
     org.label-schema.vcs-url="https://gitlab.gwdg.de/dariah-de/textgridrep/repdav" \
     org.label-schema.vendor="SUB/FE"
 
-RUN apk add --no-cache g++=10.3.1_git20210424-r2 icu-dev=67.1-r2 && \
-    adduser -D repdav
+RUN adduser -D repdav \
+  && apk add --no-cache \
+  # currently needed by icu library; needs to be replaced tomehow...
+  g++=10.3.1_git20210424-r2 icu-dev=67.1-r2
+
 USER repdav
 
 COPY --chown=repdav requirements.txt /
-- 
GitLab