mirror of
https://github.com/block/goose.git
synced 2026-05-01 21:10:54 +00:00
feat(extensions): add Java/JDK support for MCP servers (#1816)
This commit is contained in:
parent
98870f177a
commit
d619c95273
8 changed files with 176 additions and 3 deletions
|
|
@ -74,6 +74,8 @@ RUN apt-get update && apt-get install -y \
|
|||
# Python
|
||||
python3 \
|
||||
python3-pip \
|
||||
# Java
|
||||
openjdk-17-jdk \
|
||||
# Additional tools
|
||||
tree \
|
||||
tmux \
|
||||
|
|
@ -82,6 +84,9 @@ RUN apt-get update && apt-get install -y \
|
|||
# Install uv using curl
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
|
||||
# Install JBang using curl
|
||||
RUN curl -Ls https://sh.jbang.dev | bash -s - app setup
|
||||
|
||||
# Copy the built binaries
|
||||
COPY --from=builder /usr/src/goose/target/release/goose /usr/local/bin/
|
||||
|
||||
|
|
@ -109,3 +114,6 @@ RUN git config --global init.defaultBranch main && \
|
|||
# Add some helpful aliases
|
||||
RUN echo 'alias ll="ls -la"' >> ~/.bashrc && \
|
||||
echo 'alias fd=fdfind' >> ~/.bashrc
|
||||
|
||||
# Add JBang to PATH
|
||||
RUN echo 'export PATH="$HOME/.jbang/bin:$PATH"' >> ~/.bashrc
|
||||
Loading…
Add table
Add a link
Reference in a new issue