Skip to content

Commit

Permalink
Merge pull request #161 from dainst/python3
Browse files Browse the repository at this point in the history
Python3 und Pipenv Fixes.

Wir sollten das ändern, sobald man wieder die neueste pipenv version verwenden kann.
  • Loading branch information
ngrippa committed Jun 16, 2020
2 parents 5ff4185 + a8faf1b commit 422b9b9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker/cilantro-convert-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && \
libtiff-dev \
libpoppler-cpp-dev \
pkg-config \
python-dev \
python3-dev \
libmagickwand-dev \
ghostscript \
tesseract-ocr \
Expand All @@ -23,7 +23,7 @@ ENV LANG C.UTF-8
# workaround for pipenv bug: https://github.com/pypa/pipenv/issues/1328
RUN set -ex && mkdir /app

RUN pip3 install pipenv
RUN pip3 install 'pipenv==2018.11.26'
COPY docker/cilantro-convert-worker/Pipfile.lock Pipfile.lock
COPY docker/cilantro-convert-worker/Pipfile Pipfile
RUN set -ex && pipenv install --deploy --system
Expand Down
4 changes: 2 additions & 2 deletions docker/cilantro-default-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \
build-essential \
libpoppler-cpp-dev \
pkg-config \
python-dev \
python3-dev \
libmagickwand-dev \
ghostscript

Expand All @@ -20,7 +20,7 @@ ENV LANG C.UTF-8
RUN set -ex && mkdir /app


RUN pip3 install pipenv
RUN pip3 install 'pipenv==2018.11.26'
COPY docker/cilantro-default-worker/Pipfile.lock Pipfile.lock
COPY docker/cilantro-default-worker/Pipfile Pipfile
RUN set -ex && pipenv install --deploy --system
Expand Down
2 changes: 1 addition & 1 deletion docker/cilantro-nlp-heideltime-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV LANG C.UTF-8
# workaround for pipenv bug: https://github.com/pypa/pipenv/issues/1328
RUN set -ex && mkdir /app

RUN pip3 install pipenv
RUN pip3 install 'pipenv==2018.11.26'
COPY docker/cilantro-nlp-heideltime-worker/Pipfile.lock Pipfile.lock
COPY docker/cilantro-nlp-heideltime-worker/Pipfile Pipfile
RUN set -ex && pipenv install --deploy --system
Expand Down
4 changes: 2 additions & 2 deletions docker/cilantro-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV PIPENV_VENV_IN_PROJECT=true
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8

RUN apk add --update python-dev py-pip gcc libffi libffi-dev musl-dev
RUN apk add --update python3-dev py-pip gcc libffi libffi-dev musl-dev

# workaround for pipenv bug: https://github.com/pypa/pipenv/issues/1328
RUN set -ex && mkdir /app

RUN pip3 install pipenv
RUN pip3 install 'pipenv==2018.11.26'
COPY docker/cilantro-service/Pipfile.lock Pipfile.lock
COPY docker/cilantro-service/Pipfile Pipfile
RUN set -ex && pipenv install --deploy --system
Expand Down
2 changes: 1 addition & 1 deletion docker/cilantro-test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8


RUN pip3 install pipenv
RUN pip3 install 'pipenv==2018.11.26'
COPY docker/cilantro-test/Pipfile.lock Pipfile.lock
COPY docker/cilantro-test/Pipfile Pipfile
RUN set -ex && pipenv install --deploy --system
Expand Down

0 comments on commit 422b9b9

Please sign in to comment.