push to version 8665871
This commit is contained in:
parent
27032714c9
commit
5a04db495f
18
Dockerfile
18
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
|
||||
|
Loading…
Reference in New Issue
Block a user