diff --git a/ceph_devstack/config.toml b/ceph_devstack/config.toml index 147a729e..2c2c08f7 100644 --- a/ceph_devstack/config.toml +++ b/ceph_devstack/config.toml @@ -1,7 +1,7 @@ data_dir = "~/.local/share/ceph-devstack" [containers.archive] -image = "python:alpine" +image = "docker.io/alpinelinux/darkhttpd:latest" [containers.beanstalk] image = "quay.io/ceph-infra/teuthology-beanstalkd:main" diff --git a/ceph_devstack/resources/ceph/containers.py b/ceph_devstack/resources/ceph/containers.py index ae8100bb..d1e4de9e 100644 --- a/ceph_devstack/resources/ceph/containers.py +++ b/ceph_devstack/resources/ceph/containers.py @@ -104,21 +104,21 @@ class Archive(Container): "podman", "container", "create", - "-i", "--network", "ceph-devstack", "-p", - "8000:8000", + "8000:8080", "-v", "{archive_dir}:/archive" + ARCHIVE_MOUNT_SUFFIX, "--name", "{name}", + "--entrypoint", + "darkhttpd", "{image}", - "python3", - "-m", - "http.server", - "-d", "/archive", + "--no-server-id", + "--default-mimetype", + "text/plain", ] @property