# Use the official Rust image as the base FROM rust:latest # Set the working directory WORKDIR /app # Install necessary dependencies RUN apt-get update && apt-get install -y \ curl \ bzip2 \ git \ libdbus-1-3 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Install Goose CLI RUN curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash # Add goose to the local path ENV PATH="/root/.local/bin:${PATH}" # Install optional dependencies (add any additional dependencies as needed) RUN apt-get update && apt-get install -y \ # Example optional dependencies libssl-dev \ pkg-config \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Expose any necessary ports (if applicable) # EXPOSE 8080 # Set the entry point to bash for interactive development ENTRYPOINT ["/bin/bash"]