FROM mcr.microsoft.com/devcontainers/rust:1-bookworm # [Optional] Install additional packages RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install --no-install-recommends libssl-dev pkg-config # Ensure the cargo target directory is owned by the vscode user RUN mkdir -p /workspaces/target && chown vscode:vscode /workspaces/target