feat(extensions): add Java/JDK support for MCP servers (#1816)

This commit is contained in:
Tom Collier
2025-03-25 12:28:18 -07:00
committed by GitHub
parent 98870f177a
commit d619c95273
8 changed files with 176 additions and 3 deletions

View File

@@ -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