-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (16 loc) · 966 Bytes
/
Dockerfile
File metadata and controls
22 lines (16 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:24.04
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apt-get update && apt-get install -y git curl nodejs npm && rm -rf /var/lib/apt/lists/*
COPY . /opt/asta-plugins
RUN uv tool install /opt/asta-plugins
ENV PATH="/root/.local/bin:$PATH"
# Install Quarto (used by experiment / literature-report rendering).
RUN ARCH=$(dpkg --print-architecture) \
&& QUARTO_VERSION=$(curl -s https://api.github.com/repos/quarto-dev/quarto-cli/releases/latest | grep -oP '"tag_name":\s*"v\K[^"]+') \
&& curl -LO "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-${ARCH}.deb" \
&& dpkg -i quarto-${QUARTO_VERSION}-linux-${ARCH}.deb \
&& rm quarto-${QUARTO_VERSION}-linux-${ARCH}.deb
# Source repo at /opt/asta-plugins — use with:
# claude plugin marketplace add /opt/asta-plugins (Claude Code)
# npx skills add /opt/asta-plugins (any agent)
WORKDIR /app