Skip to content

Commit 19d6a51

Browse files
committed
bump ci images
1 parent 1e423c8 commit 19d6a51

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

.binder/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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
99
ARG BUILD_ENV=binder
1010

1111
FROM $BASE as image_binder
@@ -27,7 +27,9 @@ ARG PYMOR_JUPYTER_TOKEN
2727

2828
USER root
2929
RUN 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

3234
RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
3335
USER ${NB_USER}

.binder/Dockerfile.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ ARG PYMOR_JUPYTER_TOKEN
2727

2828
USER root
2929
RUN 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

3234
RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
3335
USER ${NB_USER}

.env

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
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

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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-
3128
docker_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
4845
docker_tutorials: docker_docs docker_jupyter
4946

5047
docker_test: docker_image
51-
$(DOCKER_COMPOSE) up pytest
48+
$(DOCKER_COMPOSE) run --service-ports jupyter /src/.ci/travis.script.bash
5249

5350
docker_jupyter: docker_image
5451
NB_DIR=$(NB_DIR) $(DOCKER_COMPOSE) up jupyter
5552
docker_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

0 commit comments

Comments
 (0)