fix: Allow user to not install Nushell in their system
This commit is contained in:
parent
c3f0e6712c
commit
7dc9c7e0c1
13 changed files with 271 additions and 182 deletions
|
|
@ -23,6 +23,9 @@ RUN \
|
|||
--mount=type=bind,from=stage-modules,src=/modules,dst=/tmp/modules,rw \
|
||||
{%- else %}
|
||||
--mount=type=bind,from={{ module.get_module_image() }},src=/modules,dst=/tmp/modules,rw \
|
||||
{%- endif %}
|
||||
{%- if !should_install_nu() %}
|
||||
--mount=type=bind,from={{ blue_build_utils::constants::NUSHELL_IMAGE }}:{{ get_nu_version() }},src=/nu,dst=/usr/libexec/bluebuild/nu \
|
||||
{%- endif %}
|
||||
{%- if module.module_type.typ() == "akmods" %}
|
||||
--mount=type=bind,from=stage-akmods-{{ module.generate_akmods_info(os_version).stage_name }},src=/rpms,dst=/tmp/rpms,rw \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue