FROM debian:bullseye LABEL maintainer="Johannes Schickling " # needed by cargo ENV USER root ADD install.sh install.sh RUN bash install.sh && rm install.sh ENV PATH=/root/.cargo/bin:$PATH VOLUME ["/source"] WORKDIR /source CMD ["bash"]