Skip to content

Commit

Permalink
consolidate docker image commands for prereqs
Browse files Browse the repository at this point in the history
  • Loading branch information
msdobrescu committed Aug 2, 2023
1 parent b265b02 commit 8c50ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/templates/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ prelude:

{{ $prereqs := include "cr.prereqs" ( list .Values $packages "" ) }}
- |
{{ ( include "cr.merge_shell_commands" $prereqs ) | toYaml | indent 2 }}
{{ ( include "cr.merge_shell_commands" $prereqs ) | indent 2 }}

{{ if eq .Values.category "layerbase" }}
- |
Expand Down
2 changes: 1 addition & 1 deletion packages/templates/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@
{{- range ( get ( ( printf "list:\n %s" . ) | fromYaml ) "list" ) }}
{{- $command = printf "%s\n%s; \\" $command ( trimAll "; \n" . ) }}
{{- end }}
{{- $command = printf "%s\necho;" $command }}
{{- $command = printf "%s\necho;" $command | trimPrefix "\n" }}

{{- $command }}

Expand Down

0 comments on commit 8c50ebf

Please sign in to comment.