mirror of
https://github.com/anthropic-experimental/sandbox-runtime.git
synced 2026-05-06 21:52:30 +08:00
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
564 B
Docker
29 lines
564 B
Docker
# Dockerfile for running integration tests in a Linux container
|
|
|
|
FROM oven/bun:1.1-debian AS base
|
|
|
|
# Install required system dependencies
|
|
RUN apt-get update && apt-get install -y python3 \
|
|
curl \
|
|
netcat-openbsd \
|
|
gcc \
|
|
libseccomp-dev \
|
|
libseccomp2 \
|
|
bubblewrap \
|
|
socat \
|
|
ripgrep \
|
|
ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy everything (including node_modules)
|
|
COPY . .
|
|
|
|
# Build the project
|
|
RUN bun run build
|
|
|
|
# Run integration tests
|
|
CMD ["bun", "run", "test:integration"]
|