FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive ENV PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN apt update && apt upgrade -y RUN apt install -y curl build-essential python3 python3-pip RUN pip3 install maturin RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y