File tree Expand file tree Collapse file tree 5 files changed +27
-15
lines changed
Expand file tree Collapse file tree 5 files changed +27
-15
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/testing_py3.9:133249e1ace233311c1dbcfc2e70b3f8624058a8
8+ ARG BASE=pymor/testing_py3.9:41fca6eecc2a539f73a04be0255f4dc44edc9f43
99ARG BUILD_ENV=binder
1010
1111FROM $BASE as image_binder
@@ -26,13 +26,11 @@ ARG NB_UID
2626ARG PYMOR_JUPYTER_TOKEN
2727
2828USER root
29- RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30- chown -R ${NB_USER} /home/pymor /src/ && \
31- apt update && \
32- apt install -y libtbb-dev
29+ # RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30+ # chown -R ${NB_USER} /home/pymor /src/
3331
34- RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
35- USER ${NB_USER}
32+ # # RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
33+ # USER ${NB_USER}
3634
3735ENV JUPYTER_TOKEN=${PYMOR_JUPYTER_TOKEN} \
3836 USER=${NB_USER} \
Original file line number Diff line number Diff line change @@ -26,13 +26,11 @@ ARG NB_UID
2626ARG PYMOR_JUPYTER_TOKEN
2727
2828USER root
29- RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30- chown -R ${NB_USER} /home/pymor /src/ && \
31- apt update && \
32- apt install -y libtbb-dev
29+ # RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30+ # chown -R ${NB_USER} /home/pymor /src/
3331
34- RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
35- USER ${NB_USER}
32+ # # RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
33+ # USER ${NB_USER}
3634
3735ENV JUPYTER_TOKEN=${PYMOR_JUPYTER_TOKEN} \
3836 USER=${NB_USER} \
Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ container: $[ variables['containerImage'] ]
2121steps :
2222- script : ./.ci/pytest.bash
2323- script : ./.ci/wheel.bash
24+ - script : ./.ci/install.bash
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ set -x
5+
6+ BASE_DIR=" $( cd " $( dirname ${BASH_SOURCE[0]} ) " ; cd ../ ; pwd -P ) "
7+
8+ source ${BASE_DIR} /.ci/common_setup.bash
9+
10+ python -m pip install .
11+
12+ python -m pip uninstall -y pymor_dealii
13+
14+ python -m pip install -e .
15+
Original file line number Diff line number Diff line change 11DOCKER_BASE_PYTHON = 3.9
2- PYPI_MIRROR_TAG = 133249e1ace233311c1dbcfc2e70b3f8624058a8
3- CI_IMAGE_TAG = 133249e1ace233311c1dbcfc2e70b3f8624058a8
2+ PYPI_MIRROR_TAG = 41fca6eecc2a539f73a04be0255f4dc44edc9f43
3+ CI_IMAGE_TAG = 41fca6eecc2a539f73a04be0255f4dc44edc9f43
44PYMOR_TEST_OS = debian_buster
You can’t perform that action at this time.
0 commit comments