Fix the python-olm hacks.
This commit is contained in:
parent
26ff0d256b
commit
bf8110010a
5 changed files with 1756 additions and 631 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -11,16 +11,6 @@ RUN apk add --no-cache \
|
|||
yaml-dev \
|
||||
python3-dev
|
||||
|
||||
RUN set -ex; \
|
||||
git clone -b "${LIBOLM_VERSION}" https://gitlab.matrix.org/matrix-org/olm.git olm && cd olm; \
|
||||
pip install setuptools==68.2.2; \
|
||||
cmake . -Bbuild ; \
|
||||
cmake --build build ; \
|
||||
make install ; \
|
||||
cd python && make olm-python3 ; \
|
||||
mkdir -p "/python-libs" || true ; \
|
||||
DESTDIR="/python-libs" make install-python3
|
||||
|
||||
RUN mkdir -p /app/ops_bot
|
||||
COPY requirements.frozen.txt /app/requirements.txt
|
||||
RUN pip install --prefix="/python-libs" -r /app/requirements.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue