[dockerfile] add fontconfig, to see if this is what causes errors on CI

E.g.:
https://gitlab.iscpif.fr/gargantext/haskell-gargantext/-/jobs/18643

paginating QuantumComputing corpus works (MapTerms):            Fontconfig error: Cannot load default config file: No such file: (null)
Fontconfig error: No writable cache directories
parent d9d4a09c
Pipeline #7723 failed with stages
in 49 minutes and 33 seconds
...@@ -61,7 +61,11 @@ iniParser = fmap CCMD_ini $ IniArgs <$> ...@@ -61,7 +61,11 @@ iniParser = fmap CCMD_ini $ IniArgs <$>
(optional . strOption $ long "toml-path" <> help "Path to the output .toml file") <*> (optional . strOption $ long "toml-path" <> help "Path to the output .toml file") <*>
(flag False True (long "dry-run" <> help "If set, will only output generated .toml file to stdout")) (flag False True (long "dry-run" <> help "If set, will only output generated .toml file to stdout"))
convertConfigs :: Ini.GargConfig -> IniMail.MailConfig -> IniNLP.NLPConfig -> PGS.ConnectInfo -> Config.GargConfig convertConfigs :: Ini.GargConfig
-> IniMail.MailConfig
-> IniNLP.NLPConfig
-> PGS.ConnectInfo
-> Config.GargConfig
convertConfigs ini@(Ini.GargConfig { .. }) iniMail nlpConfig connInfo = convertConfigs ini@(Ini.GargConfig { .. }) iniMail nlpConfig connInfo =
Config.GargConfig { _gc_secrets = CTypes.SecretsConfig { _s_master_user = _gc_masteruser Config.GargConfig { _gc_secrets = CTypes.SecretsConfig { _s_master_user = _gc_masteruser
, _s_secret_key = _gc_secretkey , _s_secret_key = _gc_secretkey
......
...@@ -17,6 +17,7 @@ RUN apt-get update && \ ...@@ -17,6 +17,7 @@ RUN apt-get update && \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
curl \ curl \
fontconfig \
git \ git \
gnupg2 \ gnupg2 \
locales \ locales \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment