Skip to content

add brandeis-specific container images #182

@keighrim

Description

@keighrim

New Feature Summary

Back in June, we added a Brandeis specific file location resolution system that consists of

  1. add support for document.location resolver plugins mmif-python#222
  2. https://github.com/clamsproject/aapb-brandeis-datahousing
  3. https://github.com/clamsproject/mmif-docloc-baapb

But to utilize the new resolver server, app container should install the additional mmif-docloc-baapb plugin.

Also moving forward, I believe there will be more Brandeis-specific MMIF/CLAMS components added to the platform.
Hence, I'd like to make more container images pre-shipped with Brandeis specific components.

Issue will be done when

Related

No response

Alternatives

Until these new images are added to our ghcr, devs can use something like this in debugging process to use the (WIP) resolver server.

podman run \
  --rm \
  --name <some-container-name> \
  -e BAAPB_RESOLVER_ADDRESS=<resolver_server_name>.brandeis.edu:<resolver_server_port> \  # IMPORTANT: let docloc resovler to know where to query
  -p <someport>:5000 \
  -v /mnt:/mnt \ 
  ghcr.io/clamsproject/<appimage-id>:<appimage-ver> \  # OR if you build a new image fro WIP codebase, use that name
  /bin/bash -c 'pip3 install mmif-docloc-baapb && python3 /app/app.py'  # IMPORTANT: swap default cmd with `pip install + app.py` 

### Additional context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨NNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions