# linkml-to-xsd CLI image — for XML toolchains without a Python environment.
#
#   docker run --rm -v $PWD:/work registry.gitlab.com/glueswe/public/linkml:latest \
#     /work/schema.yaml -o /work/schema.xsd
#
# CI builds this from the wheel produced by the `build` job (dist/ artifact);
# for a local build run `python -m build` first.

FROM python:3.14-slim

COPY dist/*.whl /tmp/dist/
RUN pip install --no-cache-dir /tmp/dist/*.whl && rm -rf /tmp/dist

WORKDIR /work
ENTRYPOINT ["gen-xsd"]
CMD ["--help"]
