From dccbbaebf33a79da08ddf76a0843ec301f64afc5 Mon Sep 17 00:00:00 2001 From: cguentherTUChemnitz Date: Thu, 13 Apr 2017 14:00:45 +0200 Subject: [PATCH] fix broken docker build Current docker build output: /bin/sh: 1: locale-gen: not found Locale-gen is not provided anymore by ubuntu base image, so it must be installed beforehand. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2c1d9cd96..99f8ae86c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,8 @@ FROM ubuntu:xenial MAINTAINER Simon Eisenmann # Set locale. +RUN apt-get clean && apt-get update +RUN apt-get install locales RUN locale-gen --no-purge en_US.UTF-8 ENV LC_ALL en_US.UTF-8