Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,20 @@ RUN apt-get install -y --no-install-recommends fig2ps
RUN apt-get install -y --no-install-recommends gv
RUN apt-get install -y --no-install-recommends python3-pip
RUN apt-get install -y --no-install-recommends python3-venv
RUN apt-get install -y --no-install-recommends octave
RUN apt-get install -y --no-install-recommends liboctave-dev

# compile and install

RUN python3 -m venv /venv
RUN echo "addpath('toolbox_dir', '-begin')" >> /root/.octaverc
RUN source /venv/bin/activate && \
cd getfem && \
pip install --no-cache --upgrade pip && \
pip install -r requirements.txt && \
git checkout $TAG_NAME && \
bash autogen.sh && \
./configure --prefix=/venv --with-pic && \
./configure --prefix=/venv --with-pic --enable-octave && \
make -j8 && \
make -j8 check && \
make install && \
Expand Down