File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ function update_node_version() {
155155 sed -Ei -e " s/(alpine:)0.0/\\ 1${alpine_version} /" " ${dockerfile} -tmp"
156156
157157 alpine_arch=' '
158+ local -a arches
158159 arches=$( jq -r " .\" ${version} \" .variants.\" alpine${alpine_version} \" | @sh" " versions.json" )
159160 if [[ " ${arches[0]} " == * " amd64" * ]]; then
160161 alpine_arch+=' x86_64) ARCH=' " '" ' x64' " '" ' CHECKSUM="' ${checksum} ' " OPENSSL_ARCH=linux-x86_64;; \\\n '
@@ -177,6 +178,7 @@ function update_node_version() {
177178 elif is_debian " ${variant} " ; then
178179 sed -Ei -e " s/(buildpack-deps:)name/\\ 1${variant} /" " ${dockerfile} -tmp"
179180 deb_arch=' '
181+ local -a arches
180182 arches=$( jq -r " .\" ${version} \" .variants.\" ${variant} \" | @sh" " versions.json" )
181183 if [[ " ${arches[0]} " == * " amd64" * ]]; then
182184 deb_arch+=' amd64) ARCH=' " '" ' x64' " '" ' ;; \\\n '
@@ -198,6 +200,7 @@ function update_node_version() {
198200 elif is_debian_slim " ${variant} " ; then
199201 sed -Ei -e " s/(debian:)name-slim/\\ 1${variant} /" " ${dockerfile} -tmp"
200202 deb_arch=' '
203+ local -a arches
201204 arches=$( jq -r " .\" ${version} \" .variants.\" ${variant} \" | @sh" " versions.json" )
202205 if [[ " ${arches[0]} " == * " amd64" * ]]; then
203206 deb_arch+=' amd64) ARCH=' " '" ' x64' " '" ' OPENSSL_ARCH=' " '" ' linux-x86_64' " '" ' ;; \\\n '
You can’t perform that action at this time.
0 commit comments