Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ function get_arch() {
s390x)
arch="s390x"
;;
aarch64)
aarch64 | arm64)
arch="arm64"
;;
armv7l)
arch="arm32v7"
;;
*)
echo "$0 does not support architecture ${arch} ... aborting"
echo "$0 does not support architecture ${arch:-unknown} ... aborting"
exit 1
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function update_node_version() {
(
cp "${template}" "${dockerfile}-tmp"
local fromprefix=""
if [ "${arch}" != "amd64" ]; then
if [ "${arch}" != "amd64" ] && [ "${arch}" != "arm64" ]; then
fromprefix="${arch}\\/"
fi

Expand Down