File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 55# the container, local dev needs it in path from mounted src
66# we trick docker into fulfilling both roles via a conditional ONBUILD
77# if you want to use the local dev setup, see docker/docker-compose.yml
8- ARG BASE=pymor/dealii_py3.7:7008694b9b9919cce0947367c713b54d08574661
8+ ARG BASE=pymor/testing_py3.9:4ee2b386dc8fee933fd090d334b329103f9bc918
99ARG BUILD_ENV=binder
1010
1111FROM $BASE as image_binder
@@ -27,7 +27,9 @@ ARG PYMOR_JUPYTER_TOKEN
2727
2828USER root
2929RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30- chown -R ${NB_USER} /home/pymor /src/
30+ chown -R ${NB_USER} /home/pymor /src/ && \
31+ apt update && \
32+ apt install -y libtbb-dev
3133
3234RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
3335USER ${NB_USER}
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ ARG PYMOR_JUPYTER_TOKEN
2727
2828USER root
2929RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30- chown -R ${NB_USER} /home/pymor /src/
30+ chown -R ${NB_USER} /home/pymor /src/ && \
31+ apt update && \
32+ apt install -y libtbb-dev
3133
3234RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
3335USER ${NB_USER}
Original file line number Diff line number Diff line change 1- DOCKER_BASE_PYTHON = 3.7
2- PYPI_MIRROR_TAG = eba3cf929d163c9e2aa56d26b9639894ee6789dc
3- CI_IMAGE_TAG = eba3cf929d163c9e2aa56d26b9639894ee6789dc
1+ DOCKER_BASE_PYTHON = 3.9
2+ PYPI_MIRROR_TAG = 4ee2b386dc8fee933fd090d334b329103f9bc918
3+ CI_IMAGE_TAG = 4ee2b386dc8fee933fd090d334b329103f9bc918
4+ PYMOR_TEST_OS = debian_buster
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ export $(shell sed 's/=.*//' $(ENV_FILE))
2525
2626.PHONY : docker_file
2727
28- docs :
29- PYTHONPATH=${PWD} /src/:${PYTHONPATH} make -C docs html
30-
3128docker_file :
3229 sed -e " s;CI_IMAGE_TAG;$( CI_IMAGE_TAG) ;g" -e " s;DOCKER_BASE_PYTHON;$( DOCKER_BASE_PYTHON) ;g" \
3330 .binder/Dockerfile.in > .binder/Dockerfile
@@ -48,9 +45,12 @@ docker_tutorials: NB_DIR=docs/_build/html
4845docker_tutorials : docker_docs docker_jupyter
4946
5047docker_test : docker_image
51- $(DOCKER_COMPOSE ) up pytest
48+ $(DOCKER_COMPOSE ) run --service-ports jupyter /src/.ci/travis.script.bash
5249
5350docker_jupyter : docker_image
5451 NB_DIR=$(NB_DIR ) $(DOCKER_COMPOSE ) up jupyter
5552docker_wheel_check : docker_image
5653 PYMOR_TEST_OS=$(PYMOR_TEST_OS ) $(DOCKER_COMPOSE ) run --service-ports wheel_check bash
54+
55+ docs :
56+ PYTHONPATH=${PWD} /src/:${PYTHONPATH} make -C docs html
You can’t perform that action at this time.
0 commit comments