| FROM rust:bookworm | |
| RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | |
| # Remove imagemagick due to https://security-tracker.debian.org/tracker/CVE-2019-10131 | |
| && apt-get purge -y imagemagick imagemagick-6-common | |
| # Add protoc | |
| # https://datafusion.apache.org/contributor-guide/development_environment.html#protoc-installation | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends protobuf-compiler libprotobuf-dev \ | |
| && rm -rf /var/lib/apt/lists/* |