travis: fix travis-ci docker image
A couple of fix for the docker image used by travis: * locale package is no more installed by default * liberasurecode-dev is required, now * sphinx >= 1.6.0 have broken sphinx-versioning * Don't use sphinx math module Change-Id: Iba06d0c4667e2a11495fb25375de7152b2b02597
This commit is contained in:
parent
c4183fe4fa
commit
86694d656c
|
@ -182,9 +182,7 @@ metrics the system will capture. Additionally, the number of sacks, should
|
|||
be higher than the total number of active `gnocchi-metricd` workers.
|
||||
|
||||
In general, use the following equation to determine the appropriate `sacks`
|
||||
value to set:
|
||||
|
||||
.. math::
|
||||
value to set::
|
||||
|
||||
sacks value = number of **active** metrics / 300
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ file =
|
|||
lz4>=0.9.0
|
||||
tooz>=1.38
|
||||
doc =
|
||||
sphinx
|
||||
sphinx<1.6.0
|
||||
sphinx_rtd_theme
|
||||
sphinxcontrib-httpdomain
|
||||
PyYAML
|
||||
|
|
|
@ -2,12 +2,8 @@ FROM ubuntu:16.04
|
|||
ENV GNOCCHI_SRC /home/tester/src
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
#NOTE(sileht): really no utf-8 in 2017 !?
|
||||
ENV LANG en_US.UTF-8
|
||||
RUN update-locale
|
||||
RUN locale-gen $LANG
|
||||
|
||||
RUN apt-get update -y && apt-get install -qy \
|
||||
locales \
|
||||
git \
|
||||
wget \
|
||||
nodejs \
|
||||
|
@ -17,7 +13,7 @@ RUN apt-get update -y && apt-get install -qy \
|
|||
python3 \
|
||||
python-dev \
|
||||
python3-dev \
|
||||
python-tox \
|
||||
python-pip \
|
||||
redis-server \
|
||||
build-essential \
|
||||
libffi-dev \
|
||||
|
@ -26,9 +22,18 @@ RUN apt-get update -y && apt-get install -qy \
|
|||
mysql-client \
|
||||
mysql-server \
|
||||
librados-dev \
|
||||
liberasurecode-dev \
|
||||
ceph \
|
||||
&& apt-get clean -y
|
||||
|
||||
#NOTE(sileht): really no utf-8 in 2017 !?
|
||||
ENV LANG en_US.UTF-8
|
||||
RUN update-locale
|
||||
RUN locale-gen $LANG
|
||||
|
||||
#NOTE(sileht): Upgrade python dev tools
|
||||
RUN pip install -U pip tox virtualenv
|
||||
|
||||
RUN useradd -ms /bin/bash tester
|
||||
RUN mkdir $GNOCCHI_SRC
|
||||
RUN chown -R tester: $GNOCCHI_SRC
|
||||
|
|
Loading…
Reference in New Issue