push to version e3a067c

This commit is contained in:
Sebastian Hugentobler 2022-08-18 10:16:00 +02:00
parent 5a04db495f
commit 47190fcaa2
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=86658715022a97062b4a814c4531fc3955f6cbc5 ENV VERSION=e3a067c27aa3d9dd5e82db307218cc66c8356ddd
RUN apk --no-cache add \ RUN apk --no-cache add \
sed \ sed \
@ -10,6 +10,8 @@ RUN apk --no-cache add \
musl-dev \ musl-dev \
libffi-dev \ libffi-dev \
python3-dev \ python3-dev \
rust \
cargo \
py3-pip \ py3-pip \
py3-wheel \ py3-wheel \
py3-brotli \ py3-brotli \
@ -46,6 +48,7 @@ RUN git clone https://github.com/mautrix/telegram.git
WORKDIR /telegram WORKDIR /telegram
RUN git checkout "$VERSION" RUN git checkout "$VERSION"
RUN pip3 install --prefix=/install --upgrade -r requirements.txt RUN pip3 install --prefix=/install --upgrade -r requirements.txt
RUN pip3 install --prefix=/install --upgrade -r optional-requirements.txt
RUN cp -r mautrix_telegram /install/lib/python3.10/site-packages/ RUN cp -r mautrix_telegram /install/lib/python3.10/site-packages/