FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y build-essential curl libclang-dev
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | bash -s -- -y
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
COPY . /r2a
WORKDIR /r2a
ENTRYPOINT [ "/r2a/containers/entrypoint.sh" ]