FROM mcr.microsoft.com/devcontainers/rust:1-1.75-bookworm

RUN apt-get update && apt-get install -y \
    curl \
    wget \
    git \
    pkg-config \
    libssl-dev \
    build-essential \
    clang \
    lldb \
    lld \
    && rm -rf /var/lib/apt/lists/*

# Install additional development tools
RUN cargo install cargo-tarpaulin cargo-flamegraph cargo-expand cargo-edit

# Install Nushell (optional, for script execution)
RUN apt-get update && apt-get install -y \
    nushell \
    && rm -rf /var/lib/apt/lists/*

# Set default shell
ENV SHELL=/usr/bin/bash

WORKDIR /workspace
