Update Docker image to Alpine 3.12

This commit is contained in:
Tulir Asokan
2020-06-06 20:10:14 +03:00
parent 72a45d7d80
commit a3b4a5e30e
+12 -12
View File
@@ -1,16 +1,18 @@
FROM dock.mau.dev/tulir/lottieconverter:alpine-3.11 FROM dock.mau.dev/tulir/lottieconverter:alpine-3.12
RUN echo "@edge_main http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN echo "@edge_testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories RUN echo "@edge_testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --no-cache \ RUN apk add --no-cache \
python3 py3-pip py3-setuptools py3-wheel \
py3-virtualenv \ py3-virtualenv \
py3-pillow \ py3-pillow \
py3-aiohttp \ py3-aiohttp \
py3-magic \ py3-magic \
py3-sqlalchemy \ py3-sqlalchemy \
py3-telethon-session-sqlalchemy@edge_testing \
py3-alembic@edge_testing \ py3-alembic@edge_testing \
py3-python-editor@edge_community \
py3-psycopg2 \ py3-psycopg2 \
py3-ruamel.yaml \ py3-ruamel.yaml \
py3-commonmark@edge_testing \ py3-commonmark@edge_testing \
@@ -22,8 +24,7 @@ RUN apk add --no-cache \
py3-requests \ py3-requests \
#imageio #imageio
py3-numpy \ py3-numpy \
#telethon py3-telethon@edge_testing \
py3-rsa \
# Optional for socks proxies # Optional for socks proxies
py3-pysocks \ py3-pysocks \
# cryptg # cryptg
@@ -35,19 +36,18 @@ RUN apk add --no-cache \
su-exec \ su-exec \
netcat-openbsd \ netcat-openbsd \
# olm # olm
olm-dev@edge_community \ olm-dev \
# matrix-nio? # matrix-nio?
py3-future \ py3-future \
py3-atomicwrites \ py3-atomicwrites \
py3-pycryptodome@edge_main \ py3-pycryptodome \
py3-peewee@edge_community \ py3-peewee \
py3-pyrsistent@edge_community \ py3-pyrsistent \
py3-jsonschema \ py3-jsonschema \
py3-aiofiles \ #py3-aiofiles \ # (too new)
py3-cachetools@edge_community \ py3-cachetools \
py3-prometheus-client@edge_community \
py3-unpaddedbase64 \ py3-unpaddedbase64 \
py3-pyaes@edge_testing \ py3-h2@edge_testing \
py3-logbook@edge_testing py3-logbook@edge_testing
COPY requirements.txt /opt/mautrix-telegram/requirements.txt COPY requirements.txt /opt/mautrix-telegram/requirements.txt