Skip to content

Commit 4e2dd0d

Browse files
rjwaltersclaude
andcommitted
fix(build-arena): disable Claude Code auto-updater in Docker images
Add DISABLE_AUTOUPDATER=1 environment variable to both elide-builder and standard-builder Dockerfiles to prevent Claude Code from attempting to auto-update during container builds. This ensures consistent behavior and prevents potential issues with version drift. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8fc3fae commit 4e2dd0d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/build-arena/docker/elide-builder.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ RUN java -version && \
4848
# Set environment variables
4949
ENV TERM=xterm-256color
5050
ENV LANG=C.UTF-8
51+
# Disable Claude Code auto-update (correct env var from docs)
52+
ENV DISABLE_AUTOUPDATER=1
5153

5254
# Create non-root user for Claude Code (won't run with --dangerously-skip-permissions as root)
5355
# Note: Ubuntu 24.04 (Noble) already has UID 1000, so we use the next available UID

tools/build-arena/docker/standard-builder.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ RUN java -version && \
5555
# Set environment variables
5656
ENV TERM=xterm-256color
5757
ENV LANG=C.UTF-8
58+
# Disable Claude Code auto-update (correct env var from docs)
59+
ENV DISABLE_AUTOUPDATER=1
5860

5961
# Create non-root user for Claude Code
6062
# Note: Ubuntu 24.04 (Noble) already has UID 1000, so we use the next available UID

0 commit comments

Comments
 (0)