Skip to content

Commit 1c09788

Browse files
LoCoBench Botclaude
andcommitted
fix: remove npm/claude-code from ubuntu:22.04 Dockerfiles to prevent dpkg conflict
Harbor installs Node.js 22.x via NodeSource and Claude Code via its own install script. Pre-installing npm from Ubuntu 22.04 repos (Node.js 12.x) causes a dpkg conflict when NodeSource tries to upgrade nodejs, breaking Claude Code setup (return code 100). Affected: 3 nlqa-arch + 6 investigation tasks. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5024076 commit 1c09788

File tree

9 files changed

+0
-36
lines changed

9 files changed

+0
-36
lines changed

benchmarks/ccb_investigation/inv-deep-001/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Envoy at the target commit (before router header mutation fix)
1713
# PR #40856 (commit 25f893b) fixes the bug where response_headers_to_add
1814
# is processed multiple times for local responses due to double

benchmarks/ccb_investigation/inv-deep-002/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Istio at the pre-fix commit for the DestinationRule dependency bug.
1713
# PR #38088 (merge commit 9fcfe231) fixes the bug where merged DestinationRules
1814
# lose the metadata of contributing DRs, causing xDS pushes to be silently

benchmarks/ccb_investigation/inv-deep-003/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Terraform at the pre-fix commit for the sensitive marks bug.
1713
# PR #34567 (merge commit c4a2f74054a9) fixes the bug where provider-schema-
1814
# defined sensitive attributes are not applied to values returned by

benchmarks/ccb_investigation/inv-interaction-001/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Kubernetes at the target commit (before the NoExecute taint delay fix)
1713
# PR #120816 (commit f718096) fixes the bug where processTaintBaseEviction()
1814
# receives observedReadyCondition (stale) instead of currentReadyCondition,

benchmarks/ccb_investigation/inv-interaction-002/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Cilium at the target commit (before the identity/SelectorCache race fix)
1713
# PR #42049 (commit 696017a) fixes the race condition where identity allocation
1814
# completes and triggers endpoint regeneration before the SelectorCache has

benchmarks/ccb_investigation/inv-interaction-003/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
openjdk-11-jdk \
1211
&& rm -rf /var/lib/apt/lists/*
1312

14-
# Install Claude Code CLI
15-
RUN npm install -g @anthropic-ai/claude-code
16-
1713
# Clone Kafka at the target commit (before the cooperative rebalance offset commit fix)
1814
# PR #12349 (commit d8541b20a106f22736947e0c2f293833f3c3873b) fixes KAFKA-14024, where
1915
# the consumer's onJoinPrepare callback keeps initiating new async offset commits

benchmarks/ccb_nlqa/nlqa-arch-001/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Envoy at v1.34.0 release (pinned SHA)
1713
RUN git clone --filter=blob:none --no-checkout https://github.com/envoyproxy/envoy.git . && \
1814
git checkout d7809ba2b07fd869d49bfb122b27f6a7977b4d94 && \

benchmarks/ccb_nlqa/nlqa-arch-002/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Istio at v1.24.3 release (pinned SHA)
1713
RUN git clone --filter=blob:none --no-checkout https://github.com/istio/istio.git . && \
1814
git checkout 44d0e58e49d0dc89e27fc4f8679c68132d46b887 && \

benchmarks/ccb_nlqa/nlqa-arch-003/environment/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ RUN apt-get update && apt-get install -y \
77
git \
88
curl \
99
python3 \
10-
npm \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Install Claude Code CLI
14-
RUN npm install -g @anthropic-ai/claude-code
15-
1612
# Clone Terraform at v1.10.0 release (pinned SHA)
1713
RUN git clone --filter=blob:none --no-checkout https://github.com/hashicorp/terraform.git . && \
1814
git checkout 24236f4f0bd10ada71d70868abe15f9d88099747 && \

0 commit comments

Comments
 (0)