mirror of
https://github.com/mindthemath/fenics.git
synced 2025-05-17 21:56:31 -06:00
attempting split pybind
This commit is contained in:
parent
a9ebc2798e
commit
500c9659c9
20
Dockerfile
20
Dockerfile
@ -19,7 +19,20 @@ RUN apt-get update -yqq && \
|
|||||||
apt-get -qq clean && \
|
apt-get -qq clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN apt-get update -yqq && \
|
||||||
|
apt-get install -yqq \
|
||||||
|
git \
|
||||||
|
python3-dev \
|
||||||
|
python3-pip \
|
||||||
|
&& \
|
||||||
|
apt-get -qq purge && \
|
||||||
|
apt-get -qq clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# fenics
|
# fenics
|
||||||
|
# the python version of `ffc` should not matter, used by
|
||||||
|
# cmake/scripts/generate-form-files.py
|
||||||
|
RUN pip install -U fenics-ffc
|
||||||
RUN mkdir -p /tmp/src/
|
RUN mkdir -p /tmp/src/
|
||||||
RUN git config --global user.email mm@clfx.cc
|
RUN git config --global user.email mm@clfx.cc
|
||||||
RUN git config --global user.name mm
|
RUN git config --global user.name mm
|
||||||
@ -54,6 +67,13 @@ RUN mkdir -p /tmp/src/ && cd /tmp/src/ && \
|
|||||||
|
|
||||||
FROM docker.io/python:${PYTHON_TAG} AS python-bindings
|
FROM docker.io/python:${PYTHON_TAG} AS python-bindings
|
||||||
ENV PYBIND11_VERSION=2.2.3
|
ENV PYBIND11_VERSION=2.2.3
|
||||||
|
RUN apt-get update -yqq && \
|
||||||
|
apt-get install -yqq \
|
||||||
|
cmake \
|
||||||
|
&& \
|
||||||
|
apt-get -qq purge && \
|
||||||
|
apt-get -qq clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN mkdir -p /tmp/src/ && cd /tmp/src/ && \
|
RUN mkdir -p /tmp/src/ && cd /tmp/src/ && \
|
||||||
wget -nc --quiet https://github.com/pybind/pybind11/archive/v${PYBIND11_VERSION}.tar.gz && \
|
wget -nc --quiet https://github.com/pybind/pybind11/archive/v${PYBIND11_VERSION}.tar.gz && \
|
||||||
|
Loading…
Reference in New Issue
Block a user