]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: generate en_US.UTF-8 locale in docker image
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 28 Apr 2020 09:24:15 +0000 (11:24 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 29 Apr 2020 10:54:12 +0000 (12:54 +0200)
ci/debian-buster/Dockerfile

index efa3cd4212f484f6339c2ea8f67e64bb58e5d70e..0626770418e2b5258ecc04c3c02d831ac14af85e 100644 (file)
@@ -109,3 +109,8 @@ RUN apt-get update -qq
 
 # packages from our knot-resolver-testing repo
 RUN apt-get install -y -qqq lua-http lua-psl
+
+# en_US.UTF-8 locale for scripts.update-authors.sh
+RUN apt-get install -y -qqq locales
+RUN sed -i "/en_US.UTF-8/ s/^#\(.*\)/\1/" /etc/locale.gen
+RUN locale-gen