mod: npx for bunx
This commit is contained in:
parent
50e6115351
commit
b38340b72f
2 changed files with 9 additions and 1 deletions
|
|
@ -27,6 +27,14 @@ ENV BUN_INSTALL="/root/.bun"
|
|||
ENV PATH="$BUN_INSTALL/bin:$PATH"
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
# use bunx for npx
|
||||
RUN mkdir -p ~/.local/bin && \
|
||||
echo '#!/bin/sh' %3E /usr/local/bin/npx && \
|
||||
echo 'exec bunx "$@"' >> /usr/local/bin/npx && \
|
||||
chmod +x /usr/local/bin/npx
|
||||
|
||||
|
||||
|
||||
# --- NEW SECTION: RUST SETUP ---
|
||||
# 5. Install Rust (Official Script)
|
||||
# Installs Cargo, Rustc, Rustfmt, etc.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# About
|
||||
Builds a docker image called `smart-agent`
|
||||
This provides a [Opencode](https://opencode.ai/docs/) install with custom configuration
|
||||
This image has development tools including python:3.12, java jdk,BaseX
|
||||
This image has development tools including python:3.12, uv, rust, java jdk, BaseX
|
||||
|
||||
A zsh function (zsh.add) is used to invoke the image.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue