Files
2026-09-04 14:58:42 +08:00

43 lines
1.2 KiBLFS
Docker

FROM ubuntu:24.04
# Install or copy over any environment dependencies here.
ENV DEBIAN_FRONTEND=noninteractive
# Install Python and essential tools
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-venv \
python3-dev \
build-essential \
wget \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Pre-install uv and put uv/uvx on the system PATH. The verifier runs test.sh
# with a hardened PATH that excludes /root/.local/bin, so a stock installer
# alone leaves test.sh's `uvx ...` calls failing with `uvx: command not found`.
ENV PATH="/root/.local/bin:${PATH}"
RUN curl -LsSf https://astral.sh/uv/0.9.22/install.sh | sh && \
install -m 0755 /root/.local/bin/uv /usr/local/bin/uv && \
install -m 0755 /root/.local/bin/uvx /usr/local/bin/uvx
# Create working directory
WORKDIR /app
# Install Python dependencies for citation verification
RUN pip3 install --break-system-packages \
requests==2.32.3 \
bibtexparser==1.4.2 \
pyyaml==6.0.3 \
numpy==2.4.1 \
pyperplan==2.1 \
unified_planning==1.3.0 \
up-pyperplan==1.1.0
COPY problem.json /app/problem.json
COPY tpp /app/tpp
# COPY reference /app/reference