From 3a158392722d824a5e858168f7cfca9783340099 Mon Sep 17 00:00:00 2001 From: Nabil BENDAFI Date: Tue, 20 Feb 2018 16:43:22 +0100 Subject: [PATCH] Fix missing 'locales' package in base image `/bin/sh: 1: locale-gen: not found` --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fec7d333..96f84c4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ FROM ubuntu:16.04 ENV DEBIAN_FRONTEND noninteractive # Set the locale -RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 @@ -13,6 +12,7 @@ ENV LC_ALL en_US.UTF-8 RUN apt-get update && apt-get install -y software-properties-common RUN add-apt-repository ppa:gns3/ppa RUN apt-get update && apt-get install -y \ + locales \ python3-pip \ python3-dev \ qemu-system-x86 \ @@ -21,6 +21,8 @@ RUN apt-get update && apt-get install -y \ libvirt-bin \ x11vnc +RUN locale-gen en_US.UTF-8 + # Install uninstall to install dependencies RUN apt-get install -y vpcs ubridge