diff options
| author | chrislu <chris.lu@gmail.com> | 2023-11-09 08:02:57 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-11-09 08:02:57 -0800 |
| commit | 85bed4d92e3bbb44db6ac4e6d17a3d2e079c226b (patch) | |
| tree | ca4de2e4610e7a73e769d1125caface28db6f1a8 /test/s3/compatibility/Dockerfile | |
| parent | c563386675010969ddb6e75c604ea65427ab59c8 (diff) | |
| parent | a1c6f1fbd68b64a4546ea00d1adf33ada95f024b (diff) | |
| download | seaweedfs-85bed4d92e3bbb44db6ac4e6d17a3d2e079c226b.tar.xz seaweedfs-85bed4d92e3bbb44db6ac4e6d17a3d2e079c226b.zip | |
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
Diffstat (limited to 'test/s3/compatibility/Dockerfile')
| -rw-r--r-- | test/s3/compatibility/Dockerfile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/test/s3/compatibility/Dockerfile b/test/s3/compatibility/Dockerfile index b2a1040cb..a3a76b742 100644 --- a/test/s3/compatibility/Dockerfile +++ b/test/s3/compatibility/Dockerfile @@ -1,11 +1,21 @@ # the tests only support python 3.6, not newer -FROM ubuntu:latest +#FROM ubuntu:latest +FROM python:3.6.15-slim-buster -RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y git-core sudo tzdata +# Installed required system deps +RUN apt-get update \ + && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y git-core sudo tzdata + +# Install python deps +RUN pip install virtualenv + +# Clone Ceph S3 tests RUN git clone https://github.com/ceph/s3-tests.git + WORKDIR s3-tests -# we pin a certain commit +# Pin to a certain commit on ceph/s3-tests +# https://github.com/ceph/s3-tests/commit/9a6a1e9f197fc9fb031b809d1e057635c2ff8d4e RUN git checkout 9a6a1e9f197fc9fb031b809d1e057635c2ff8d4e RUN ./bootstrap |
