Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TopFarm2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TOPFARM
TopFarm2
Commits
5464195f
Commit
5464195f
authored
6 years ago
by
Pierre-Elouan Rethore
Browse files
Options
Downloads
Patches
Plain Diff
Adding the installation of Topfarm to the Dockerfile
parent
3b1ef42e
No related branches found
No related tags found
1 merge request
!94
Handle disabled mpi
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/Dockerfile
+23
-9
23 additions, 9 deletions
docker/Dockerfile
docker/requirements2.txt
+5
-0
5 additions, 0 deletions
docker/requirements2.txt
with
28 additions
and
9 deletions
docker/Dockerfile
+
23
−
9
View file @
5464195f
...
...
@@ -90,15 +90,14 @@ RUN chmod +x /usr/bin/tini
RUN
apt-get clean
\
&&
apt-get autoremove
-y
RUN
apt-get
install
lazarus
-y
#RUN mkdir /install
#RUN mkdir /install/source
#RUN mkdir /install/FugaLib
#WORKDIR /install
#COPY topfarm/cost_models/fuga/Colonel/source/*.pas /install/source/
#COPY topfarm/cost_models/fuga/Colonel/FugaLib/FugaLib.lpr /install/FugaLib/
#COPY topfarm/cost_models/fuga/Colonel/FugaLib/FugaLib.lpi /install/FugaLib
RUN
apt-get
install
lazarus
-y
RUN
mkdir
/install/source
RUN
mkdir
/install/FugaLib
WORKDIR
/install
COPY
topfarm/cost_models/fuga/Colonel/source/*.pas /install/source/
COPY
topfarm/cost_models/fuga/Colonel/FugaLib/FugaLib.lpr /install/FugaLib/
COPY
topfarm/cost_models/fuga/Colonel/FugaLib/FugaLib.lpi /install/FugaLib
## Build
RUN
lazbuild /install/FugaLib/FugaLib.lpi
...
...
@@ -107,6 +106,19 @@ RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN
apt-get update
-y
&&
apt-get
install
-y
nodejs
## Install TOPFARM
RUN
mkdir
/topfarm
COPY
topfarm /topfarm/topfarm
COPY
setup.py /topfarm/
WORKDIR
/topfarm
RUN
cp
/install/FugaLib/libfugalib.so /topfarm/topfarm/cost_models/fuga/Colonel/FugaLib/FugaLib.so
RUN
pip
install
-e
.
# Install python library requirements to run the notebooks
WORKDIR
/install
COPY
docker/requirements2.txt /install
RUN
pip
install
-r
/install/requirements2.txt
#RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager \
# && jupyter labextension install jupyterlab_bokeh
...
...
@@ -121,3 +133,5 @@ CMD bash
# --notebook-dir=/notebooks \
# --config=/install/jupyter_notebook_config.py \
# --allow-root
#jupyter notebook --notebook-dir=/topfarm --allow-root --port=8898 --ip='*'
This diff is collapsed.
Click to expand it.
docker/requirements2.txt
+
5
−
0
View file @
5464195f
-e git+https://github.com/FUSED-Wind/windIO.git#egg=windio
-e git+https://github.com/OpenMDAO/OpenMDAO.git#egg=openmdao
-e git+https://github.com/FUSED-Wind/FUSED-Wake.git#egg=fusedwake
bokeh==0.12.14
ipywidgets
msgpack
pytest
pytest-cov
matplotlib
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment