-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Claude Code for Gitpod and Gitpod Classic #20892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+76
−22
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5ba5c57
Add CLAUDE.md file
kylos101 96f7865
Install claude code for Gitpod
kylos101 4d96784
Install Claude Code for Gitpod Classic
kylos101 d8962c2
Bump dev image
kylos101 ecba982
Use image with claude code cli
kylos101 88ceca8
Fix devcontainer build
kylos101 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -293,15 +293,15 @@ RUN mkdir -p ~/.terraform \ | |
&& printf "terraform -install-autocomplete 2> /dev/null\n" >>~/.bashrc | ||
|
||
## Java | ||
ENV JAVA_VERSION=11.0.23.fx-zulu | ||
ENV JAVA_VERSION=11.0.27.fx-zulu | ||
RUN curl -fsSL "https://get.sdkman.io" | bash \ | ||
&& bash -c ". /root/.sdkman/bin/sdkman-init.sh \ | ||
&& sed -i 's/sdkman_selfupdate_enable=true/sdkman_selfupdate_enable=false/g' /root/.sdkman/etc/config \ | ||
&& sed -i 's/sdkman_selfupdate_feature=true/sdkman_selfupdate_feature=false/g' /root/.sdkman/etc/config \ | ||
&& sdk install java ${JAVA_VERSION} \ | ||
&& sdk default java ${JAVA_VERSION} \ | ||
&& sdk install gradle \ | ||
&& sdk install maven \ | ||
&& sdk install maven 3.9.10 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. devcontainer image build failed otherwise |
||
&& sdk flush archives \ | ||
&& sdk flush temp \ | ||
&& mkdir /root/.m2 \ | ||
|
@@ -320,7 +320,7 @@ RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | | |
&& bash -c ". $HOME/.nvm/nvm.sh \ | ||
&& nvm install v${NODE_VERSION} \ | ||
&& nvm alias default v${NODE_VERSION} \ | ||
&& npm install -g typescript yarn pnpm node-gyp" | ||
&& npm install -g typescript yarn pnpm node-gyp @anthropic-ai/claude-code" | ||
|
||
ENV PATH=$PATH:/root/.aws-iam:/root/.terraform:/workspace/bin | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852 | ||
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073 | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852 | ||
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073 | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852 | ||
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073 | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852 | ||
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073 | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Claude Context for Gitpod | ||
|
||
This file provides essential context for AI assistants working on the Gitpod codebase. | ||
|
||
## Project Overview | ||
|
||
Gitpod is a cloud development environment platform that provides automated, ready-to-code development environments for any Git repository. The platform consists of multiple interconnected services and components that work together to deliver seamless developer experiences. | ||
|
||
## Memory Bank Structure | ||
|
||
This repository maintains comprehensive documentation in the `memory-bank/` directory: | ||
|
||
### Core Documentation | ||
- **[Project Brief](memory-bank/projectbrief.md)** - Foundation document defining core requirements and goals | ||
- **[Product Context](memory-bank/productContext.md)** - Why this project exists and problems it solves | ||
- **[System Patterns](memory-bank/systemPatterns.md)** - System architecture and key technical decisions | ||
- **[Tech Context](memory-bank/techContext.md)** - Technologies used and development setup | ||
- **[Active Context](memory-bank/activeContext.md)** - Current work focus and recent changes | ||
- **[Progress](memory-bank/progress.md)** - What works, what's left to build, and current status | ||
|
||
### Component Documentation | ||
The `memory-bank/components/` directory contains detailed documentation for each service and component in the Gitpod platform. Start with **[components.md](memory-bank/components.md)** for an overview. | ||
|
||
## Working with This Codebase | ||
|
||
1. **Start by reading the memory bank** - Always begin by reviewing the core documentation files above to understand the current state and context | ||
2. **Component-specific work** - Refer to the relevant component documentation in `memory-bank/components/` | ||
3. **Architecture decisions** - Check `memory-bank/systemPatterns.md` for established patterns and conventions | ||
4. **Current focus** - Review `memory-bank/activeContext.md` for ongoing work and priorities | ||
|
||
## Key Characteristics | ||
|
||
- **Multi-service architecture** - Gitpod consists of dozens of interconnected services | ||
- **Kubernetes-native** - Designed to run on Kubernetes with cloud-native patterns | ||
- **Developer experience focus** - Every decision prioritizes developer productivity and experience | ||
- **Workspace lifecycle management** - Complex orchestration of development environments | ||
- **Security and isolation** - Strong emphasis on secure, isolated development environments | ||
|
||
## Important Notes | ||
|
||
- This is a production system serving thousands of developers | ||
- Changes should be thoroughly tested and follow established patterns | ||
- Security considerations are paramount given the multi-tenant nature | ||
- Performance and scalability are critical concerns | ||
- The codebase spans multiple languages (Go, TypeScript, Java) and technologies | ||
|
||
Always refer to the memory bank documentation for the most current and detailed information about any aspect of the system. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump to have parity with workspace-images