Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
nomad-lab
nomad-FAIR
Commits
f95b1570
Commit
f95b1570
authored
11 months ago
by
Lauri Himanen
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Fix plugin install in Dockerfile"
parent
ed7424ba
No related branches found
No related tags found
1 merge request
!1920
Resolve "Fix plugin install in Dockerfile"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+7
-2
7 additions, 2 deletions
Dockerfile
with
7 additions
and
2 deletions
Dockerfile
+
7
−
2
View file @
f95b1570
...
@@ -128,8 +128,8 @@ ARG SETUPTOOLS_SCM_PRETEND_VERSION='0.0'
...
@@ -128,8 +128,8 @@ ARG SETUPTOOLS_SCM_PRETEND_VERSION='0.0'
RUN
pip
install
".[parsing,infrastructure,dev]"
RUN
pip
install
".[parsing,infrastructure,dev]"
# Install "default" plugins. TODO: This can be removed once we have proper
# Install "default" plugins. TODO: This can be removed once we have
a
proper
# distribution
s
project
s
.
# distribution project.
RUN
./scripts/install_default_plugins.sh
\
RUN
./scripts/install_default_plugins.sh
\
RUN
./scripts/generate_docs_artifacts.sh
\
RUN
./scripts/generate_docs_artifacts.sh
\
...
@@ -176,6 +176,11 @@ RUN pip install --progress-bar off --prefer-binary -r requirements.txt
...
@@ -176,6 +176,11 @@ RUN pip install --progress-bar off --prefer-binary -r requirements.txt
COPY
--from=dev_python /app/dist/nomad-lab-*.tar.gz .
COPY
--from=dev_python /app/dist/nomad-lab-*.tar.gz .
RUN
pip
install
nomad-lab-
*
.tar.gz
RUN
pip
install
nomad-lab-
*
.tar.gz
# Install "default" plugins. TODO: This can be removed once we have a proper
# distribution project.
COPY
scripts/install_default_plugins.sh ./scripts/install_default_plugins.sh
RUN
./scripts/install_default_plugins.sh
\
# Reduce the size of the packages
# Reduce the size of the packages
RUN
find /usr/local/lib/python3.9/
-type
d
-name
'tests'
!
-path
'*/networkx/*'
-exec
rm
-r
'{}'
+
\
RUN
find /usr/local/lib/python3.9/
-type
d
-name
'tests'
!
-path
'*/networkx/*'
-exec
rm
-r
'{}'
+
\
&&
find /usr/local/lib/python3.9/
-type
d
-name
'test'
-exec
rm
-r
'{}'
+
\
&&
find /usr/local/lib/python3.9/
-type
d
-name
'test'
-exec
rm
-r
'{}'
+
\
...
...
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