Skip to content

Commit

Permalink
[FIX-#421] Pin urwid version to avoid locale error
Browse files Browse the repository at this point in the history
  • Loading branch information
brainbot-devops committed Nov 18, 2019
1 parent 8259b1d commit caafcbe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .circleci/config.yml
Expand Up @@ -83,11 +83,6 @@ commands:
name: Add Environment variables to bash env.
command: |
echo 'export PATH=/home/circleci/ci/venv/bin:$PATH' >> ${BASH_ENV}
echo 'export LANGUAGE=en_US.UTF-8' >> ${BASH_ENV}
echo 'export LANG=en_US.UTF-8' >> ${BASH_ENV}
echo 'export LC_ALL=en_US.UTF-8' >> ${BASH_ENV}
locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
- run:
name: Setup git config.
Expand Down
16 changes: 8 additions & 8 deletions docker/Dockerfile
Expand Up @@ -113,21 +113,21 @@ ARG SCENARIOS_VERSION
LABEL maintainer=devops@brainbot.com
LABEL org.label-schema.name="Raide Network Scenario Player"
LABEL org.label-schema.description="An executable Scenario-player instance, complete with a raiden client and scenarios."
LABEL org.label-schema.version=0.6.0
LABEL org.label-schema.version="0.6.1"
LABEL org.label-schema.vcs-url="https://github.com/raiden-network/scenario-player"
LABEL org.label-schema.vendor="Brainbot Laboratories"

LABEL org.label-schema.build-args.raiden_version=${RAIDEN_VERSION}
LABEL org.label-schema.build-args.sp_version=${SP_VERSION}
LABEL org.label-schema.build-args.scenarios_version=${SCENARIOS_VERSION}

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y locales \
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
&& dpkg-reconfigure --frontend=noninteractive locales \
&& update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
#RUN apt-get update \
# && DEBIAN_FRONTEND=noninteractive apt-get install -y locales \
# && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
# && dpkg-reconfigure --frontend=noninteractive locales \
# && update-locale LANG=en_US.UTF-8
#ENV LANG en_US.UTF-8
#ENV LC_ALL en_US.UTF-8


# Copy virtual environment and update $PATH
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -32,7 +32,7 @@ requires = [
'raiden',
'structlog',
'simplejson',
'urwid',
'urwid!=2.1.0',
'waitress',
]

Expand Down

0 comments on commit caafcbe

Please sign in to comment.