Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ RUN if [ "$EXTRA_ENTIRE" = "1" ]; then \
fi

# Install Claude
# Cache-bust: pass --build-arg CLAUDE_CACHEBUST=$(date +%s) to force a fresh install
ARG CLAUDE_CACHEBUST=
RUN npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}

# Use tini as init process to properly reap zombie processes
Expand Down
2 changes: 1 addition & 1 deletion setup-yolo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ elif [ "$BUILD_MODE" = "yes" ] || [ "$IMAGE_EXISTS" = false ]; then
echo

TZ=$(timedatectl show --property=Timezone --value 2>/dev/null || echo "UTC")
BUILD_ARGS=(--build-arg "TZ=$TZ")
BUILD_ARGS=(--build-arg "TZ=$TZ" --build-arg "CLAUDE_CACHEBUST=$(date +%s)")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is cute enough: it will allow quick rebuilds within the same day while ensuring that otherwise we have everything beyond 'apt' installations earlier, up to date... wdyt @asmacdo ?

if [ -n "$EXTRA_PACKAGES" ]; then
BUILD_ARGS+=(--build-arg "EXTRA_PACKAGES=$EXTRA_PACKAGES")
fi
Expand Down
Loading