Skip to content

Commit 0bcd227

Browse files
acefsanAdrian Sanchezclaude
authored
Install promptfoo CLI and upgrade uv in vscode-docker (#345)
- Add Node.js 22 and promptfoo CLI for LLM evaluation workflows - Upgrade uv from 0.9.27 to 0.11.1 - Install uv directly to /usr/local/bin via UV_INSTALL_DIR so that `uv self update` works correctly (previously broke due to mv) Co-authored-by: Adrian Sanchez <acefsan@verily.health> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6eb5a8d commit 0bcd227

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

src/vscode-docker/Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,16 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | d
6464
apt-get install -y gh && \
6565
rm -rf /var/lib/apt/lists/*
6666

67-
# Install uv (Python package manager version 0.9.27)
68-
RUN curl -LsSf https://astral.sh/uv/0.9.27/install.sh | sh && \
69-
mv $HOME/.local/bin/uv /usr/local/bin/ && \
70-
mv $HOME/.local/bin/uvx /usr/local/bin/
67+
# Install Node.js (required for promptfoo)
68+
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
69+
apt-get install -y nodejs && \
70+
rm -rf /var/lib/apt/lists/*
71+
72+
# Install promptfoo CLI
73+
RUN npm install -g promptfoo
74+
75+
# Install uv (Python package manager)
76+
RUN curl -LsSf https://astral.sh/uv/0.10.7/install.sh | UV_INSTALL_DIR=/usr/local/bin sh
7177

7278
# Set up environment variables
7379
ENV PATH="/usr/local/go/bin:${PATH}"

0 commit comments

Comments
 (0)