Skip to content

Commit 21408a7

Browse files
committed
Update Docker file to use scipopt channel
1 parent b3b84dc commit 21408a7

File tree

10 files changed

+2
-241
lines changed

10 files changed

+2
-241
lines changed

.circleci/Dockerfile

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,10 @@
1-
FROM continuumio/miniconda AS scip-builder
2-
3-
ENV CONDA_BLD_PATH /opt/scipoptsuite/channel
4-
WORKDIR /opt/scipoptsuite
5-
6-
ARG scipoptsuite_url
7-
COPY recipe recipe
8-
9-
RUN conda install conda-build conda-verify
10-
11-
RUN wget -q "${scipoptsuite_url:?}"
12-
RUN tar -xzf scipoptsuite-7.0.0.tgz
13-
RUN SCIP_DIR="${PWD}/scipoptsuite-7.0.0" conda build -c conda-forge recipe/scipoptsuite-7.0.0
14-
RUN conda build -c file://${CONDA_BLD_PATH} -c conda-forge recipe/pyscipopt
15-
16-
171
FROM continuumio/miniconda
182

19-
ENV SCIP_CHANNEL /opt/scipoptsuite/channel
20-
COPY --from=scip-builder ${SCIP_CHANNEL} ${SCIP_CHANNEL}
21-
223
RUN for PY_VERSION in "3.6" "3.7" "3.8" ; do \
234
conda create -n "ecole-py${PY_VERSION:?}" \
24-
--use-local -c file://${SCIP_CHANNEL} -c conda-forge \
5+
--channel scipopt --channel conda-forge \
256
gxx_linux-64 clangxx cmake'>=3.15' make conan clang-tools'>=10' \
26-
scipoptsuite pyscipopt python="${PY_VERSION:?}" pybind11 xtensor-python numpy \
7+
scip pyscipopt'>=3.0.1' python="${PY_VERSION:?}" pybind11 xtensor-python numpy \
278
pytest pytest-benchmark black \
289
doxygen sphinx'>=3.0' breathe'>=4.15' sphinx_rtd_theme ; \
2910
done && \

.circleci/hooks/build

Lines changed: 0 additions & 5 deletions
This file was deleted.

.circleci/recipe/pyscipopt/conda_build_config.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.circleci/recipe/pyscipopt/meta.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.circleci/recipe/scipoptsuite-7.0.0/build.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

.circleci/recipe/scipoptsuite-7.0.0/libobjscip.patch

Lines changed: 0 additions & 40 deletions
This file was deleted.

.circleci/recipe/scipoptsuite-7.0.0/librt-papilo.patch

Lines changed: 0 additions & 27 deletions
This file was deleted.

.circleci/recipe/scipoptsuite-7.0.0/librt-scip.patch

Lines changed: 0 additions & 28 deletions
This file was deleted.

.circleci/recipe/scipoptsuite-7.0.0/meta.yaml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.circleci/recipe/scipoptsuite-7.0.0/run_test.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)