Files
ruflo/docker-test/Dockerfile.local-test
T
rUvandClaude fdc9754660 Release v2.7.0-alpha.13 - Fix statusline portability
Replace echo -ne with printf for better cross-shell compatibility.
Fixes multi-line statusline output in some environments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 02:05:41 +00:00

43 lines
954 B
Docker

# Dockerfile for testing LOCAL claude-flow (with skills-copier fix)
# Tests the fix BEFORE publishing to npm
FROM node:20-slim
# Set working directory
WORKDIR /app
# Install required dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy package files first (for better layer caching)
COPY package.json package-lock.json ./
# Copy source files
COPY bin/ ./bin/
COPY src/ ./src/
COPY .claude/ ./.claude/
COPY scripts/ ./scripts/
COPY docs/ ./docs/
# Install dependencies (use legacy-peer-deps to avoid conflicts in Docker)
RUN npm install --legacy-peer-deps
# Link locally so we can test with npx/global commands
RUN npm link
# Verify local version
RUN claude-flow --version
# Create test directory
WORKDIR /test
# Create test script
COPY docker-test/test-local-fix.sh /test/test-local-fix.sh
RUN chmod +x /test/test-local-fix.sh
# Default command
CMD ["/test/test-local-fix.sh"]