FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04

# Avoid prompts from apt
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies that don't have devcontainer features
RUN apt-get update && apt-get install -y \
    pkg-config \
    libssl-dev \
    postgresql-client \
    protobuf-compiler \
    && rm -rf /var/lib/apt/lists/*

# Set working directory
WORKDIR /workspace

# Note: Rust, Bun, and just are installed via devcontainer features
# cargo-binstall, cargo-watch, cargo-edit, and sea-orm-cli are installed via postCreateCommand

CMD [ "sleep", "infinity" ]
