From 5a04db495f42d88171b4ff104d3c1d68103bd93e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 22 Jul 2022 16:36:29 +0200 Subject: [PATCH] push to version 8665871 --- Dockerfile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38d5efe..a8f1808 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/alpine:3.16 as builder -ENV VERSION=0.11.3 +ENV VERSION=86658715022a97062b4a814c4531fc3955f6cbc5 RUN apk --no-cache add \ sed \ @@ -36,11 +36,17 @@ RUN apk --no-cache add \ py3-mako \ py3-setuptools -RUN git clone -b v0.25.0 --recursive https://github.com/MagicStack/asyncpg.git -WORKDIR /asyncpg -RUN sed -ie '1,3d' pyproject.toml -RUN python3 setup.py install --prefix=/install -RUN pip3 install --prefix=/install mautrix-telegram[all]==$VERSION +#RUN git clone -b v0.25.0 --recursive https://github.com/MagicStack/asyncpg.git +#WORKDIR /asyncpg +#RUN sed -ie '1,3d' pyproject.toml +#RUN python3 setup.py install --prefix=/install +#RUN pip3 install --prefix=/install mautrix-telegram[all]==$VERSION + +RUN git clone https://github.com/mautrix/telegram.git +WORKDIR /telegram +RUN git checkout "$VERSION" +RUN pip3 install --prefix=/install --upgrade -r requirements.txt +RUN cp -r mautrix_telegram /install/lib/python3.10/site-packages/ FROM docker.io/thallian/confd-env:3.16