Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

new SYMPHONY installation method #35

Merged
merged 1 commit into from
Aug 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,15 @@ RUN R -e "IRkernel::installspec(user = FALSE)"
ADD svn-servers /etc/subversion/servers

# coin SYMPHONY
# https://projects.coin-or.org/SYMPHONY
# https://github.com/coin-or/SYMPHONY
ENV SYMPHONY_VER 5.6

RUN git clone --depth=1 --branch=stable/$SYMPHONY_VER https://github.com/coin-or/SYMPHONY SYMPHONY-$SYMPHONY_VER \
&& cd SYMPHONY-$SYMPHONY_VER \
&& git clone --depth=1 --branch=stable/0.8 https://github.com/coin-or-tools/BuildTools/ \
&& chmod u+x ./BuildTools/get.dependencies.sh \
&& ./BuildTools/get.dependencies.sh fetch --no-third-party \
&& ./configure \
&& make -j"$(nproc --all)" \
&& make -j"$(nproc --all)" install \
&& cd .. && rm -rf SYMPHONY-$SYMPHONY_VER
RUN git clone https://github.com/coin-or/coinbrew \
&& cd coinbrew \
&& ./coinbrew fetch --no-prompt SYMPHONY:stable/$SYMPHONY_VER \
&& ./coinbrew build --no-prompt SYMPHONY --prefix=/usr/local --parallel-jobs="$(nproc --all)" \
&& ./coinbrew install SYMPHONY \
&& cd .. && rm -rf coinbrew

# bash Jupyter kernel
RUN source activate py3 && pip install bash_kernel \
Expand Down