push to version 8665871

This commit is contained in:
Sebastian Hugentobler 2022-07-22 16:36:29 +02:00
parent 27032714c9
commit 5a04db495f
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,6 +1,6 @@
FROM docker.io/alpine:3.16 as builder FROM docker.io/alpine:3.16 as builder
ENV VERSION=0.11.3 ENV VERSION=86658715022a97062b4a814c4531fc3955f6cbc5
RUN apk --no-cache add \ RUN apk --no-cache add \
sed \ sed \
@ -36,11 +36,17 @@ RUN apk --no-cache add \
py3-mako \ py3-mako \
py3-setuptools py3-setuptools
RUN git clone -b v0.25.0 --recursive https://github.com/MagicStack/asyncpg.git #RUN git clone -b v0.25.0 --recursive https://github.com/MagicStack/asyncpg.git
WORKDIR /asyncpg #WORKDIR /asyncpg
RUN sed -ie '1,3d' pyproject.toml #RUN sed -ie '1,3d' pyproject.toml
RUN python3 setup.py install --prefix=/install #RUN python3 setup.py install --prefix=/install
RUN pip3 install --prefix=/install mautrix-telegram[all]==$VERSION #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 FROM docker.io/thallian/confd-env:3.16