FROM debian
MAINTAINER Artem Polyakov <artemp@mellanox.com>

# Install some ps and Midnight Commander
RUN apt-get update && \
    apt-get install -y procps mc && \
    apt-get install -y gcc make && \
    apt-get install -y wget bzip2 && \
    apt-get install -y git

# Prepare tools for compilation
COPY ./compilation /root/
RUN cd /root/compile/scripts/ && ./download_tools.sh
RUN cd /root/compile/scripts/ && ./prepare.sh
RUN echo "BASE=/opt/compile_tools/" >> /root/.bashrc
RUN echo "PATH=\$BASE/bin:\$PATH" >> /root/.bashrc
RUN echo "LD_LIBRARY_PATH=\$BASE/lib:\$LD_LIBRARY_PATH" >> /root/.bashrc
RUN rm -Rf /root/compile
FROM debian
MAINTAINER Artem Polyakov <artemp@mellanox.com>

# Install some ps and Midnight Commander
RUN apt-get update && \
    apt-get install -y procps mc && \
    apt-get install -y gcc make && \
    apt-get install -y wget bzip2 && \
    apt-get install -y git && \
    apt-get install -y python

# Prepare tools for compilation
COPY ./compilation /root/
RUN cd /root/compile/scripts/ && ./download_tools.sh
RUN cd /root/compile/scripts/ && ./prepare.sh
RUN echo "BASE=/opt/compile_tools/" >> /root/.bashrc
RUN echo "PATH=\$BASE/bin:\$PATH" >> /root/.bashrc
RUN echo "LD_LIBRARY_PATH=\$BASE/lib:\$LD_LIBRARY_PATH" >> /root/.bashrc
RUN rm -Rf /root/compile
Add python package that is needed by SLURM at installation
Add python package that is needed by SLURM at installation
