Skip to content
Snippets Groups Projects
Commit 996fc10f authored by Anton Kullberg's avatar Anton Kullberg
Browse files

docker: updated dockerfile to be runnable on Binder

parent 304c2318
Branches
No related tags found
No related merge requests found
from jupyter/scipy-notebook
# RUN apt update && apt install -y python3-pip
RUN pip3 install jax jaxlib pyehm
RUN pip3 install cmake
from jupyter/scipy-notebook:1b775230a94d
USER root
# Dependencies for Murty's algorithm
RUN apt update && apt install -y \
gcc \
build-essential \
libeigen3-dev
USER ${NB_UID}
COPY . ${HOME}
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
# Lock requirements and install via pip (global install)
RUN pip3 install -r ${HOME}/requirements.txt
# Clone and build Murty alg. C++ implementation
RUN git clone --recursive https://github.com/JohnPekl/murty.git
RUN cd murty && \
sed -i 's/SET( EIGEN3_INCLUDE_DIR "\/usr\/local\/include\/eigen3" )/SET( EIGEN3_INCLUDE_DIR "\/usr\/include\/eigen3\/" )/' CMakeLists.txt && \
make
ENTRYPOINT /bin/bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment