Skip to content

Commit

Permalink
test debug timeout 6h for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilleBonamy committed Nov 13, 2024
1 parent 3441727 commit cc19b3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN update-ca-certificates && apt-get update \
&& apt-get install --no-install-recommends -y \
python3-pip python3-dev python3-venv python-is-python3 ipython3 \
unzip git mercurial meld libreadline-dev vim nano emacs python3-pandas \
texlive dvipng python3-tk cm-super texlive-latex-extra python3-netcdf4 python3-venv \
python3-pip python3-dev python-is-python3 ipython3 \
unzip git mercurial libreadline-dev vim nano emacs python3-venv \
#python3-tk cm-super meld \
#texlive dvipng texlive-latex-extra python3-netcdf4 python3-pandas \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m venv /home/sudofoam/pyenv
Expand All @@ -24,7 +25,7 @@ WORKDIR /root/swak4Foam
RUN /bin/bash -c 'shopt -s expand_aliases && ./maintainanceScripts/compileRequirements.sh'

WORKDIR /root/swak4Foam
RUN /bin/bash -c 'shopt -s expand_aliases && source /openfoam/bash.rc && export FOAM_USER_LIBBIN=$FOAM_SITE_LIBBIN && export FOAM_USER_APPBIN=$FOAM_SITE_APPBIN && export WM_NCOMPPROCS=1 && ./Allwmake'
RUN /bin/bash -c 'shopt -s expand_aliases && source /openfoam/bash.rc && export FOAM_USER_LIBBIN=$FOAM_SITE_LIBBIN && export FOAM_USER_APPBIN=$FOAM_SITE_APPBIN && export WM_NCOMPPROCS=4 && ./Allwmake'

WORKDIR /root/sedfoam
RUN /bin/bash -c 'shopt -s expand_aliases && source /openfoam/bash.rc && export FOAM_USER_LIBBIN=$FOAM_SITE_LIBBIN && ./Allwmake -prefix=group'
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile_nb
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ RUN set -x && \
# Pin major.minor version of python
# mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
#fix-permissions "${CONDA_DIR}" && \
#fix-permissions "/home/${NB_USER}"

RUN mamba install -c conda-forge --quiet --yes \
'pandas' \
Expand Down

0 comments on commit cc19b3d

Please sign in to comment.