Files
wehub-resource-sync db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:36:23 +08:00

31 lines
846 B
Docker

# Test: uv sync from source (git clone + uv sync + uv run)
# This Dockerfile verifies development installation using uv works.
#
# Usage: docker build -f tests/installation/docker/Dockerfile.uv-source .
FROM python:3.10-slim
# Install curl for downloading uv and OpenCV dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
curl ca-certificates libgl1 libglib2.0-0 && \
rm -rf /var/lib/apt/lists/*
# Install uv (as documented)
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# Add uv to PATH
ENV PATH="/root/.local/bin:$PATH"
# Verify uv is installed
RUN uv --version
# Copy the repository (build context should be repo root)
COPY . /ros-mcp-server
WORKDIR /ros-mcp-server
# Sync dependencies using uv (development installation)
RUN uv sync
# Verify ros-mcp runs via uv run
RUN uv run ros-mcp --help