FROM            ubuntu:20.04

# Add files to image.
COPY           . artifact
WORKDIR         artifact

# dependences
RUN             apt-get update -qq
RUN             apt-get install -y build-essential
RUN             apt-get install -y python3
RUN             apt-get install -y python3-pip
RUN             pip3 install -r requirements.txt

RUN             cd implement/cacti7 && make all
RUN             cd ../..
# run experiments
RUN             ./scripts/run/fig9.sh
RUN             ./scripts/run/fig10.sh
RUN             ./scripts/run/fig11.sh
RUN             ./scripts/run/fig12.sh
# RUN             ./scripts/run/fig13.sh
RUN             ./scripts/run/fig14.sh


WORKDIR         /
