Skip to content
Snippets Groups Projects

Resolve "Fix plugin install in Dockerfile"

Merged Lauri Himanen requested to merge 2055-fix-plugin-install-in-dockerfile into develop
1 file
+ 7
2
Compare changes
  • Side-by-side
  • Inline
+ 7
2
@@ -128,8 +128,8 @@ ARG SETUPTOOLS_SCM_PRETEND_VERSION='0.0'
RUN pip install ".[parsing,infrastructure,dev]"
# Install "default" plugins. TODO: This can be removed once we have proper
# distributions projects.
# Install "default" plugins. TODO: This can be removed once we have a proper
# distribution project.
RUN ./scripts/install_default_plugins.sh \
RUN ./scripts/generate_docs_artifacts.sh \
@@ -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 .
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
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 '{}' + \
Loading