mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
a1c6f1fbd6
While present, the S3 compatibility tests were broken (at the very least when running on Linux) due to a few issues: - `ubuntu:latest` moving ahead of Python 3.6 - Docker networking not working as expected (host.docker.internal) This commit fixes the s3 compatibility tests, ensuring they run properly on linux, and updates the repository to contain some results. Signed-off-by: vados <vados@vadosware.io>
22 lines
586 B
Docker
22 lines
586 B
Docker
# the tests only support python 3.6, not newer
|
|
#FROM ubuntu:latest
|
|
FROM python:3.6.15-slim-buster
|
|
|
|
# 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
|
|
|
|
# Pin to a certain commit on ceph/s3-tests
|
|
# https://github.com/ceph/s3-tests/commit/9a6a1e9f197fc9fb031b809d1e057635c2ff8d4e
|
|
RUN git checkout 9a6a1e9f197fc9fb031b809d1e057635c2ff8d4e
|
|
|
|
RUN ./bootstrap
|