File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,14 @@ function get_arch() {
32
32
s390x)
33
33
arch=" s390x"
34
34
;;
35
- arm64)
36
- arch=" amd64"
37
- ;;
38
- aarch64)
35
+ aarch64 | arm64)
39
36
arch=" arm64"
40
37
;;
41
38
armv7l)
42
39
arch=" arm32v7"
43
40
;;
44
41
* )
45
- echo " $0 does not support architecture ${arch} ... aborting"
42
+ echo " $0 does not support architecture ${arch:- unknown } ... aborting"
46
43
exit 1
47
44
;;
48
45
esac
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ function update_node_version() {
126
126
(
127
127
cp " ${template} " " ${dockerfile} -tmp"
128
128
local fromprefix=" "
129
- if [ " ${arch} " != " amd64" ]; then
129
+ if [ " ${arch} " != " amd64" ] && [ " ${arch} " != " arm64 " ] ; then
130
130
fromprefix=" ${arch} \\ /"
131
131
fi
132
132
You can’t perform that action at this time.
0 commit comments