File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,17 @@ RUN yum-builddep -y python; yum -y install make postgresql-devel gcc \
99 libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel \
1010 libxslt-devel libxml2-devel; yum clean all
1111
12- ENV PYTHON_VERSION="3.5.0 "
12+ ENV PYTHON_VERSION="3.5.3 "
1313# Downloading and building python
1414RUN mkdir /tmp/python-build && cd /tmp/python-build && \
1515 curl https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz > python.tgz && \
1616 tar xzf python.tgz && cd Python-$PYTHON_VERSION && \
1717 ./configure --prefix=/usr/local && make install && cd / && rm -rf /tmp/python-build
1818
19+ # Install locale
20+ RUN localedef -v -c -i en_US -f UTF-8 en_US.UTF-8 || true
21+ ENV LC_ALL "en_US.UTF-8"
22+
1923# install virtualenv
2024RUN pip3 install virtualenv
2125
@@ -30,7 +34,7 @@ USER app
3034WORKDIR $APPLICATION_DIR
3135
3236RUN echo "source /srv/virtenv/bin/activate" >> "/home/app/.bashrc" \
33- && echo "export LANG=en_US.utf8 " >> /home/app/.bashrc
37+ && echo "export LANG=en_US.UTF-8 " >> /home/app/.bashrc
3438
3539CMD ["/bin/bash" ]
3640
You can’t perform that action at this time.
0 commit comments