2 回答
TA贡献2051条经验 获得超10个赞
似乎python:3.9.0b5-buster已经准备好了一切956MB:
$ cat Dockerfile
FROM python:3.9.0b5-buster
RUN apt-get update
RUN apt-get install libmariadb3
$ docker build -t py-booster-with-maria .
Step 3/3 : RUN apt-get install libmariadb3
---> Running in 40be8f94b3de
Reading package lists...
Building dependency tree...
Reading state information...
libmariadb3 is already the newest version (1:10.3.22-0+deb10u1).
libmariadb3 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
docker image ls | grep py-booster-with-maria
py-booster-with-maria latest e7c61439835f 7 minutes ago 956MB
TA贡献1886条经验 获得超2个赞
您是否尝试过 mariadb-connector-c 软件包?它提供/usr/lib/libmariadb.so.3。
RUN apk add mariadb-connector-c
添加回答
举报