mirror of
https://github.com/alfem/telegram-download-daemon.git
synced 2025-03-01 16:43:06 +08:00
Fixing ARM image build
This commit is contained in:
parent
a219e85852
commit
0b1cf4acf3
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ COPY *.py /
|
||||||
RUN echo $TARGETPLATFORM
|
RUN echo $TARGETPLATFORM
|
||||||
|
|
||||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
||||||
|
which lsb_release \
|
||||||
|
lsb_release -a \
|
||||||
mv /usr/bin/lsb_release /usr/bin/lsb_release.bak \
|
mv /usr/bin/lsb_release /usr/bin/lsb_release.bak \
|
||||||
pip install telethon; \
|
pip install telethon; \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in a new issue