Upgrade system finished
This commit is contained in:
@@ -2,17 +2,13 @@ FROM codercom/code-server:latest
|
||||
|
||||
USER root
|
||||
|
||||
# Install Node.js 18+ and npm
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
# Install Node.js (for npm/claude-code — code-server bundles its own node but doesn't expose it)
|
||||
RUN apt-get update && apt-get install -y nodejs npm --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Claude Code globally as root
|
||||
# Install Claude Code globally
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
# Install Ollama (needs zstd for extraction)
|
||||
RUN apt-get update && apt-get install -y zstd && rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -fsSL https://ollama.com/install.sh | sh
|
||||
|
||||
# Install Python and dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3 \
|
||||
|
||||
Reference in New Issue
Block a user