Upgrade version and impossible to build image `/bin/sh: 1: locale-gen: not found`
Closed this issue · 1 comments
kopax commented
Hi.
I wanted to upgrade to a newer netdata version (1.6.0) and when I tried to build the docker image I have the following error :
me@dev-01[~/workspace/PanteraS]: ./build-docker-image.sh
Sending build context to Docker daemon 52.22 kB
Step 1 : FROM ubuntu:16.04
---> 6a2f32de169d
Step 2 : MAINTAINER Wojciech Sielski "wsielski@team.mobile.de"
---> Running in 3d89c39f725e
---> 4f1361c31113
Removing intermediate container 3d89c39f725e
Step 3 : RUN locale-gen en_US.UTF-8
---> Running in 36193f4bdfb5
/bin/sh: 1: locale-gen: not found
The command '/bin/sh -c locale-gen en_US.UTF-8' returned a non-zero code: 127
ERROR DURING BUILDING IMAGE
I also would like to update the following, I assume these are not updated because no one has time to do it.
me@dev-01[~/PanteraS]: git diff
diff --git a/infrastructure/Dockerfile b/infrastructure/Dockerfile
index f8138df..10f60c0 100644
--- a/infrastructure/Dockerfile
+++ b/infrastructure/Dockerfile
@@ -34,18 +34,18 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
-ENV SUPERVISORD_APP_VERSION 3.2.3
+ENV SUPERVISORD_APP_VERSION 3.3.1
ENV DOCKER_APP_VERSION 1.13.1-0~ubuntu-xenial
-ENV CONSUL_APP_VERSION 0.7.5
-ENV CONSUL_TEMPLATE_APP_VERSION 0.18.1
-ENV HAPROXY_APP_VERSION 1.6.11-1ppa1~xenial
-ENV MESOS_APP_VERSION 1.0.1-2.0.94.ubuntu1604
-ENV MARATHON_APP_VERSION 1.3.10-1.0.627.ubuntu1604
+ENV CONSUL_APP_VERSION 0.8.1
+ENV CONSUL_TEMPLATE_APP_VERSION 0.18.2
+ENV HAPROXY_APP_VERSION 1.6.12-1ppa1~xenial
+ENV MESOS_APP_VERSION 1.2.0-2.0.6
+ENV MARATHON_APP_VERSION 1.4.2-1.0.647.ubuntu1604
ENV REGISTRATOR_APP_VERSION v7
ENV CHRONOS_APP_VERSION 2.4.0-0.1.20151007110204.ubuntu1404
ENV FABIO_APP_VERSION 1.3.8
ENV FABIO_GO_APP_VERSION go1.7.5
-ENV NETDATA_APP_VERSION 1.5.0
+ENV NETDATA_APP_VERSION 1.6.0
ENV DOCKER_HOST unix:///tmp/docker.sock
In advance,