Skip to content

Commit 4d0a663

Browse files
committed
Update Dockerfile
1 parent c45e429 commit 4d0a663

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Docker/Dockerfile-ORESWIG

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
# syntax = nexus3.acadiasoft.net:4445/docker/dockerfile:experimental
12
ARG ore_version=latest
2-
33
FROM env_ore:${ore_version}
44

5+
MAINTAINER Quaternion Risk Management
6+
LABEL Description="Build OREPlus"
7+
8+
# Argument for number of cores to use while building
9+
ARG num_cores
10+
511
# Install SWIG and python3
612
RUN apt-get update && apt-get upgrade -y \
713
&& apt-get install -f -y swig python3-dev \
@@ -19,8 +25,7 @@ COPY oreswig/OREData-SWIG ./OREData-SWIG
1925
COPY oreswig/QuantExt-SWIG ./QuantExt-SWIG
2026
COPY oreswig/QuantLib-SWIG ./QuantLib-SWIG
2127

22-
ENV PYTHONPATH=/swig/OREPlus-SWIG/Python/build.release/ \
23-
PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/ \
28+
ENV PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/ \
2429
PYTHON_INCLUDE_DIR=/usr/include/x86_64-linux-gnu/python3.9
2530

2631
RUN find -regex ".*\.\(sh\|in\|ac\|am\)" -exec dos2unix {} ';'

0 commit comments

Comments
 (0)