Fix issue with locale during packaging for test documents with unicode names. Add files to allow live testing.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
+7
-1
@@ -10,7 +10,7 @@ MAINTAINER Roberto Rosario "roberto.rosario@mayan-edms.com"
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
ENV LANG C.UTF-8
|
ENV LC_ALL C.UTF-8
|
||||||
ENV PROJECT_INSTALL_DIR=/usr/local/lib/python2.7/dist-packages/mayan
|
ENV PROJECT_INSTALL_DIR=/usr/local/lib/python2.7/dist-packages/mayan
|
||||||
|
|
||||||
ARG APT_PROXY
|
ARG APT_PROXY
|
||||||
@@ -83,6 +83,8 @@ RUN apt-get update && apt-get install make python-dev python-pip -y
|
|||||||
|
|
||||||
RUN pip install -r requirements/build.txt
|
RUN pip install -r requirements/build.txt
|
||||||
|
|
||||||
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
RUN make wheel
|
RUN make wheel
|
||||||
|
|
||||||
RUN chmod 777 dist -R
|
RUN chmod 777 dist -R
|
||||||
@@ -97,6 +99,10 @@ WORKDIR /root/
|
|||||||
|
|
||||||
COPY --from=BUILDER_IMAGE /code/dist/*.whl .
|
COPY --from=BUILDER_IMAGE /code/dist/*.whl .
|
||||||
|
|
||||||
|
COPY --from=BUILDER_IMAGE /code/contrib/scripts/docker/run-tests.sh .
|
||||||
|
|
||||||
|
COPY --from=BUILDER_IMAGE /code/requirements/testing-base.txt requirements-testing.txt
|
||||||
|
|
||||||
# Install build Mayan EDMS
|
# Install build Mayan EDMS
|
||||||
RUN pip install *.whl && \
|
RUN pip install *.whl && \
|
||||||
rm *.whl
|
rm *.whl
|
||||||
|
|||||||
Reference in New Issue
Block a user