Skip to content

Commit 748e1f7

Browse files
authored
Add Claude Code for Gitpod and Gitpod Classic (#20892)
* Add CLAUDE.md file * Install claude code for Gitpod * Install Claude Code for Gitpod Classic * Bump dev image * Use image with claude code cli * Fix devcontainer build maven 3.9.9 is no longer available Bump java to have parity with workspace-images
1 parent b831dff commit 748e1f7

File tree

16 files changed

+76
-22
lines changed

16 files changed

+76
-22
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,15 @@ RUN mkdir -p ~/.terraform \
293293
&& printf "terraform -install-autocomplete 2> /dev/null\n" >>~/.bashrc
294294

295295
## Java
296-
ENV JAVA_VERSION=11.0.23.fx-zulu
296+
ENV JAVA_VERSION=11.0.27.fx-zulu
297297
RUN curl -fsSL "https://get.sdkman.io" | bash \
298298
&& bash -c ". /root/.sdkman/bin/sdkman-init.sh \
299299
&& sed -i 's/sdkman_selfupdate_enable=true/sdkman_selfupdate_enable=false/g' /root/.sdkman/etc/config \
300300
&& sed -i 's/sdkman_selfupdate_feature=true/sdkman_selfupdate_feature=false/g' /root/.sdkman/etc/config \
301301
&& sdk install java ${JAVA_VERSION} \
302302
&& sdk default java ${JAVA_VERSION} \
303303
&& sdk install gradle \
304-
&& sdk install maven \
304+
&& sdk install maven 3.9.10 \
305305
&& sdk flush archives \
306306
&& sdk flush temp \
307307
&& mkdir /root/.m2 \
@@ -320,7 +320,7 @@ RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh |
320320
&& bash -c ". $HOME/.nvm/nvm.sh \
321321
&& nvm install v${NODE_VERSION} \
322322
&& nvm alias default v${NODE_VERSION} \
323-
&& npm install -g typescript yarn pnpm node-gyp"
323+
&& npm install -g typescript yarn pnpm node-gyp @anthropic-ai/claude-code"
324324

325325
ENV PATH=$PATH:/root/.aws-iam:/root/.terraform:/workspace/bin
326326

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
1+
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
22

33
COPY entrypoint.sh /entrypoint.sh
44
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
1+
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
22

33
COPY entrypoint.sh /entrypoint.sh
44
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
1+
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
22

33
COPY entrypoint.sh /entrypoint.sh
44
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
1+
FROM eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
22

33
COPY entrypoint.sh /entrypoint.sh
44
ENTRYPOINT ["/entrypoint.sh"]

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
cancel-in-progress: ${{ needs.configuration.outputs.is_main_branch == 'false' }}
119119
runs-on: ${{ needs.create-runner.outputs.label }}
120120
container:
121-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
121+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
122122
steps:
123123
- uses: actions/checkout@v4
124124
- name: Setup Environment
@@ -188,7 +188,7 @@ jobs:
188188
ports:
189189
- 6379:6379
190190
container:
191-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
191+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
192192
env:
193193
DB_HOST: "mysql"
194194
DB_PORT: "23306"
@@ -521,7 +521,7 @@ jobs:
521521
- create-runner
522522
runs-on: ${{ needs.create-runner.outputs.label }}
523523
container:
524-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
524+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
525525
if: needs.configuration.outputs.with_integration_tests != '' && needs.configuration.outputs.is_scheduled_run != 'true'
526526
concurrency:
527527
group: ${{ needs.configuration.outputs.preview_name }}-integration-test

.github/workflows/code-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ needs.create-runner.outputs.label }}
1919
needs: [create-runner]
2020
container:
21-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
21+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: ./.github/actions/setup-environment

.github/workflows/ide-integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ${{ needs.create-runner.outputs.label }}
4444
needs: [create-runner]
4545
container:
46-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
46+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
4747
outputs:
4848
name: ${{ steps.configuration.outputs.name }}
4949
version: ${{ steps.configuration.outputs.version }}
@@ -131,7 +131,7 @@ jobs:
131131
needs: [configuration, infrastructure, create-runner]
132132
runs-on: ${{ needs.create-runner.outputs.label }}
133133
container:
134-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
134+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
135135
volumes:
136136
- /var/tmp:/var/tmp
137137
- /tmp:/tmp

.github/workflows/jetbrains-auto-update-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
update-jetbrains:
2424
runs-on: ${{ needs.create-runner.outputs.label }}
2525
container:
26-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
26+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
2727
needs: [ create-runner ]
2828
steps:
2929
- uses: actions/checkout@v2

.github/workflows/jetbrains-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
gcp_credentials: ${{ secrets.SELF_HOSTED_GITHUB_RUNNER_GCP_CREDENTIALS }}
4040
jetbrains-smoke-test-linux:
4141
container:
42-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:main-gha.32852
42+
image: eu.gcr.io/gitpod-dev-artifact/dev/dev-environment:kylos101-add-claude-code-gha.33073
4343
runs-on: ${{ needs.create-runner.outputs.label }}
4444
needs: [create-runner]
4545
steps:

0 commit comments

Comments
 (0)