5a601bb0c0
- Added Windows ARM64 binary support and architecture detection in installers. - Updated WASM loading to use streaming with base64 fallback for binary compatibility. - Moved TTSR settings to dedicated tab and expanded abbreviation to Time Traveling Stream Rules. - Added comprehensive install testing infrastructure with Docker validation. - Updated package name from @oh-my-pi/omp-coding-agent to @oh-my-pi/pi-coding-agent.
24 lines
574 B
Docker
24 lines
574 B
Docker
# Test binary build from local source
|
|
FROM debian:bookworm-slim
|
|
|
|
RUN apt-get update && apt-get install -y curl ca-certificates unzip && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install bun
|
|
RUN curl -fsSL https://bun.sh/install | bash
|
|
ENV PATH="/root/.bun/bin:$PATH"
|
|
|
|
# Copy local repo
|
|
WORKDIR /repo
|
|
COPY . .
|
|
|
|
# Build binary
|
|
RUN bun install --frozen-lockfile
|
|
RUN cd packages/coding-agent && bun run build:binary
|
|
|
|
# Install binary to PATH
|
|
RUN mkdir -p /root/.local/bin && cp packages/coding-agent/dist/omp /root/.local/bin/
|
|
ENV PATH="/root/.local/bin:$PATH"
|
|
|
|
# Verify
|
|
RUN omp --version
|