Merge pull request #111 from tuna/nix-channels-minio

minio-py 7.0.0 has "Lots of APIs and functions been refactored", and …
This commit is contained in:
Miao Wang 2021-01-02 21:23:47 +08:00 committed by GitHub
commit dfe4f86c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ MAINTAINER Wang Ruikang <dramforever@live.com>
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y python3-dev python3-pip curl && \ 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 # Install Nix. To simplify management we only copy binaries and create
# symlinks, and do no further configuration # 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 && \ 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 && \