# Dockerfile
FROM rust:1.90.0-slim-bullseye

# Install Git
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*

# Install AWS CLI
RUN apt-get update && apt-get install -y curl unzip \
    && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
    && unzip awscliv2.zip && ./aws/install && rm -rf awscliv2.zip aws

# Add Rust Analyzer manually
RUN rustup component add rustfmt clippy rust-analyzer

WORKDIR /workspace
