From 74ef20359a6695405db8c9fdcaad19b5f9ebf246 Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Sat, 5 Jan 2019 15:14:38 +0100 Subject: [PATCH] linux docker language --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 044e8297..a18951cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,11 @@ before_script: - apt-get -q update # install dependencies for packages - apt-get -y -q install libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev pandoc r-base + # set R system language + - echo "LC_ALL=en_US.UTF-8" >> /etc/environment + - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen + - echo "LANG=en_US.UTF-8" > /etc/locale.conf + - locale-gen en_US.UTF-8 # cache R packages - mkdir -p installed_deps - echo 'R_LIBS="installed_deps"' > .Renviron