minio-py 7.0.0 has "Lots of APIs and functions been refactored", and breaks current sync script.

Ref to bf39c0e5d5

Co-authored-by: dramforever <dramforever@live.com>
This commit is contained in:
taoky 2021-01-02 18:37:12 +08:00 committed by Zenithal
parent 76d66ce482
commit 6981b7af54
No known key found for this signature in database
GPG Key ID: 758DF565973E6760

View File

@ -3,7 +3,7 @@ MAINTAINER Wang Ruikang <dramforever@live.com>
RUN apt-get update && \
apt-get install -y python3-dev python3-pip curl && \
pip3 install pyquery requests minio && \
pip3 install pyquery requests minio==6.0.2 && \
# Install Nix. To simplify management we only copy binaries and create
# symlinks, and do no further configuration
curl https://mirrors.tuna.tsinghua.edu.cn/nix/nix-2.3.2/nix-2.3.2-x86_64-linux.tar.xz -o /tmp/nix.tar.xz && \