Browse Source

travis: Fix the locale in the builder images

These were spamming the logs and making the log view almost unusable.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
parent
commit
e308423954
  1. 9
      contrib/Dockerfile.builder
  2. 9
      contrib/Dockerfile.builder.i386

9
contrib/Dockerfile.builder

@ -3,6 +3,7 @@ MAINTAINER Christian Decker <decker.christian@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
ENV BITCOIN_VERSION 0.16.0
WORKDIR /build
RUN apt-get -qq update && \
@ -16,6 +17,7 @@ RUN apt-get -qq update && \
software-properties-common \
build-essential \
autoconf \
locales \
libtool \
libprotobuf-c-dev \
libsqlite3-dev \
@ -33,6 +35,11 @@ RUN apt-get -qq update && \
wget && \
rm -rf /var/lib/apt/lists/*
ENV LANGUAGE=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure locales
RUN cd /tmp/ && \
wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
tar -xvzf bitcoin.tar.gz && \
@ -40,4 +47,4 @@ RUN cd /tmp/ && \
rm -rf bitcoin.tar.gz /tmp/bitcoin-$BITCOIN_VERSION
RUN pip3 install --upgrade pip && \
pip3 install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1
python3 -m pip install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1

9
contrib/Dockerfile.builder.i386

@ -3,6 +3,7 @@ MAINTAINER Christian Decker <decker.christian@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
ENV BITCOIN_VERSION 0.16.0
WORKDIR /build
RUN apt-get -qq update && \
@ -16,6 +17,7 @@ RUN apt-get -qq update && \
software-properties-common \
build-essential \
autoconf \
locales \
libtool \
libprotobuf-c-dev \
libsqlite3-dev \
@ -33,6 +35,11 @@ RUN apt-get -qq update && \
wget && \
rm -rf /var/lib/apt/lists/*
ENV LANGUAGE=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure locales
RUN cd /tmp/ && \
wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-i686-pc-linux-gnu.tar.gz -O bitcoin.tar.gz && \
tar -xvzf bitcoin.tar.gz && \
@ -40,4 +47,4 @@ RUN cd /tmp/ && \
rm -rf bitcoin.tar.gz /tmp/bitcoin-$BITCOIN_VERSION
RUN pip3 install --upgrade pip && \
pip3 install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1
python3 -m pip install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1

Loading…
Cancel
Save