fix: Parse Version from container and remove ostree commit
This commit is contained in:
parent
783b9cb2d6
commit
33bebb5e29
16 changed files with 30 additions and 30 deletions
|
|
@ -26,20 +26,17 @@ ARG RUST_LOG_STYLE=always
|
|||
# Key RUN
|
||||
RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys \
|
||||
mkdir -p /etc/pki/containers/ \
|
||||
&& cp /tmp/keys/* /etc/pki/containers/ \
|
||||
&& ostree container commit
|
||||
&& cp /tmp/keys/* /etc/pki/containers/
|
||||
|
||||
# Bin RUN
|
||||
RUN --mount=type=bind,from=stage-bins,src=/bins,dst=/tmp/bins \
|
||||
mkdir -p /usr/bin/ \
|
||||
&& cp /tmp/bins/* /usr/bin/ \
|
||||
&& ostree container commit
|
||||
&& cp /tmp/bins/* /usr/bin/
|
||||
|
||||
{%- if should_install_nu() %}
|
||||
RUN --mount=type=bind,from={{ blue_build_utils::constants::NUSHELL_IMAGE }}:{{ get_nu_version() }},src=/nu,dst=/tmp/nu \
|
||||
mkdir -p /usr/libexec/bluebuild/nu \
|
||||
&& cp -r /tmp/nu/* /usr/libexec/bluebuild/nu/ \
|
||||
&& ostree container commit
|
||||
&& cp -r /tmp/nu/* /usr/libexec/bluebuild/nu/
|
||||
{%- endif %}
|
||||
|
||||
RUN --mount=type=bind,from={{ build_scripts_image }},src=/scripts/,dst=/scripts/ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue