# ESP-IDF firmware job image (managed by ansible: roles/gitea-actions). # Adds node (required by actions/checkout and other JS actions) and the AWS CLI # (firmware artifacts ship to S3) on top of the official Espressif toolchain. # IDF lives at /opt/esp/idf — firmware jobs source /opt/esp/idf/export.sh. FROM espressif/idf:{{ esp_idf_version }} RUN apt-get update && apt-get install -y --no-install-recommends \ curl ca-certificates unzip \ && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get install -y --no-install-recommends nodejs \ && rm -rf /var/lib/apt/lists/* RUN curl -fsSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/awscliv2.zip \ && unzip -q /tmp/awscliv2.zip -d /tmp \ && /tmp/aws/install \ && rm -rf /tmp/aws /tmp/awscliv2.zip