Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
10f714c8
Commit
10f714c8
authored
Jan 08, 2020
by
Lauri Himanen
Browse files
Updated dockerfile to cache the NOMAD-COE dependencies whenever possible.
parent
83b211c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
10f714c8
...
...
@@ -54,9 +54,15 @@ RUN pip install -r requirements.txt
# Use docker build --build-args CACHEBUST=2 to not cache this (e.g. when you know deps have changed)
ARG
CACHEBUST=1
# Install all NOMAD-CoE dependencies and nomad@FAIRDI
COPY
. /install
# Install all NOMAD-CoE dependencies. This is done separately because most of
# the time this comes directly from docker cache
COPY
./dependencies /install/dependencies
COPY
./dependencies.sh /install/dependencies.sh
COPY
./.gitmodules /install/.gitmodules
RUN
sh dependencies.sh
# Copy rest of files and install nomad@FAIRDI
COPY
. /install
RUN
pip
install
.
WORKDIR
/install/docs
RUN
make html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment