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
a702a2c7
Commit
a702a2c7
authored
6 years ago
by
Jennifer Rinker
Browse files
Options
Downloads
Patches
Plain Diff
changed docker setup to pass tests
parent
85fe396b
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_simple
+14
-17
14 additions, 17 deletions
docker/Dockerfile_simple
docker/requirements_simple.txt
+0
-8
0 additions, 8 deletions
docker/requirements_simple.txt
with
14 additions
and
25 deletions
docker/Dockerfile_simple
+
14
−
17
View file @
a702a2c7
# ==================================================================
# Creating a simple docker image for TOPFARM testing and docs
# ==================================================================
# set the base image
FROM continuumio/anaconda3:latest
MAINTAINER Jenni Rinker <rink@dtu.dk>
# define the maintainer
MAINTAINER Jennifer Rinker <rink@dtu.dk>
# get list of update linux files and install lib for matplotlib
# (anaconda3:5.0.0 image doesn't have the library)
RUN apt update && \
apt install libgl1-mesa-glx -y
# update the application repository list
RUN apt-get update \
&& apt-get install -y \
build-essential \
gcc \
gfortran
# create an "install" directory and make it the working directory
RUN mkdir /install
WORKDIR /install
# use conde to update itself and install packages not in the
# anaconda3 image
RUN conda update -y conda &&\
conda install -y sphinx_rtd_theme && \
conda install -y pytest-cov && \
conda clean -y --all
# copy reqs file to /install and install everything
COPY ./requirements_simple.txt /install
RUN pip install --upgrade pip \
&& pip install -r /install/requirements_simple.txt
# use pip to install openmdao (nocache to save space)
RUN pip install --no-cache-dir openmdao
This diff is collapsed.
Click to expand it.
docker/requirements_simple.txt
deleted
100644 → 0
+
0
−
8
View file @
85fe396b
# WindIO for ???
-e git+https://github.com/FUSED-Wind/windIO.git#egg=windio
# OpenMDAO for optimization
-e git+https://github.com/OpenMDAO/OpenMDAO.git#egg=openmdao
# sphinx read-the-docs theme for documentation
sphinx_rtd_theme
# pytest-cov for coverage report
pytest-cov
\ No newline at end of file
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