File tree 5 files changed +19
-15
lines changed
5 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 1
1
# about minimum2scp/nodejs image
2
2
3
3
* based on minimum2scp/baseimage (see https://github.com/minimum2scp/dockerfiles/tree/master/baseimage )
4
- * node.js v20.2 .0 is installed with [ nodenv] ( https://github.com/nodenv/nodenv )
4
+ * node.js v20.3 .0 is installed with [ nodenv] ( https://github.com/nodenv/nodenv )
5
5
* nodenv is installed in /opt/nodenv
6
6
* [ yarn] ( https://yarnpkg.com/ ) is installed with deb package
7
7
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ node_version=$(/bin/bash /tmp/build/nodejs/helpers/latest-nodejs-version v20.)
13
13
git clone https://github.com/nodenv/nodenv.git ${nodenv_root}
14
14
15
15
# # install nodenv plugins
16
- git clone https://github.com/nodenv/node-build.git ${nodenv_root} /plugins/node-build
16
+ # git clone https://github.com/nodenv/node-build.git ${nodenv_root}/plugins/node-build
17
+ git clone -b latest-scraped-definitions \
18
+ https://github.com/minimum2scp/node-build.git ${nodenv_root} /plugins/node-build
17
19
git clone https://github.com/nodenv/nodenv-update.git ${nodenv_root} /plugins/nodenv-update
18
20
git clone https://github.com/nodenv/nodenv-aliases.git ${nodenv_root} /plugins/nodenv-aliases
19
21
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ node_version=$(python3 /tmp/build/rails7/helpers/latest-nodejs-version.py v20.)
13
13
git clone https://github.com/nodenv/nodenv.git ${nodenv_root}
14
14
15
15
# # install nodenv plugins
16
- git clone https://github.com/nodenv/node-build.git ${nodenv_root} /plugins/node-build
16
+ # git clone https://github.com/nodenv/node-build.git ${nodenv_root}/plugins/node-build
17
+ git clone -b latest-scraped-definitions \
18
+ https://github.com/minimum2scp/node-build.git ${nodenv_root} /plugins/node-build
17
19
git clone https://github.com/nodenv/nodenv-update.git ${nodenv_root} /plugins/nodenv-update
18
20
git clone https://github.com/nodenv/nodenv-aliases.git ${nodenv_root} /plugins/nodenv-aliases
19
21
Original file line number Diff line number Diff line change 63
63
64
64
describe command ( 'nodenv version-name' ) do
65
65
let ( :login_shell ) { true }
66
- its ( :stdout ) { should eq "20.2 .0\n " }
66
+ its ( :stdout ) { should eq "20.3 .0\n " }
67
67
end
68
68
69
69
[
70
70
{
71
- nodejs : '20.2 .0' ,
71
+ nodejs : '20.3 .0' ,
72
72
} ,
73
73
] . each do |v |
74
74
describe command ( 'nodenv versions --bare --skip-aliases' ) do
86
86
let ( :login_shell ) { true }
87
87
its ( :stdout ) {
88
88
should eq <<~ALIASES
89
- 20 => 20.2 .0
90
- 20.2 => 20.2 .0
89
+ 20 => 20.3 .0
90
+ 20.3 => 20.3 .0
91
91
ALIASES
92
92
}
93
93
end
94
94
95
95
{
96
- '20' => '20.2 .0' ,
97
- '20.2 ' => '20.2 .0' ,
96
+ '20' => '20.3 .0' ,
97
+ '20.3 ' => '20.3 .0' ,
98
98
} . each do |src , dest |
99
99
describe file ( "/opt/nodenv/versions/#{ src } " ) do
100
100
it { should be_symlink }
Original file line number Diff line number Diff line change 78
78
79
79
describe command ( 'nodenv version-name' ) do
80
80
let ( :login_shell ) { true }
81
- its ( :stdout ) { should eq "20.2 .0\n " }
81
+ its ( :stdout ) { should eq "20.3 .0\n " }
82
82
end
83
83
84
84
[
85
85
{
86
- nodejs : '20.2 .0' ,
86
+ nodejs : '20.3 .0' ,
87
87
} ,
88
88
] . each do |v |
89
89
describe command ( 'nodenv versions --bare --skip-aliases' ) do
102
102
let ( :login_shell ) { true }
103
103
its ( :stdout ) {
104
104
should eq <<~ALIASES
105
- 20 => 20.2 .0
106
- 20.2 => 20.2 .0
105
+ 20 => 20.3 .0
106
+ 20.3 => 20.3 .0
107
107
ALIASES
108
108
}
109
109
end
110
110
111
111
{
112
- '20' => '20.2 .0' ,
113
- '20.2 ' => '20.2 .0' ,
112
+ '20' => '20.3 .0' ,
113
+ '20.3 ' => '20.3 .0' ,
114
114
} . each do |src , dest |
115
115
describe file ( "/opt/nodenv/versions/#{ src } " ) do
116
116
it { should be_symlink }
You can’t perform that action at this time.
0 commit comments