Commit a7f3e8a7 authored by Piotr Gawron's avatar Piotr Gawron

setup locale for docker image

parent 57f5227c
Pipeline #9408 failed with stage
in 4 minutes and 25 seconds
......@@ -6,10 +6,16 @@ mkdir $directory
cp badge_fail.svg $directory/badge.svg
DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y curl lsb-release
apt-get install -y curl lsb-release locales
lsb_release -a > $directory/info.txt
#make sure that we have locale defined
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale LANG=en_US.UTF-8
echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
#hacky way of installing minerva on docker - by default rc-invoke is preventing services changes on docker
mv /usr/sbin/policy-rc.d /usr/sbin/policy-rc.d.backup
......
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