Skip to content

Commit 9d9e5f4

Browse files
jasonborgTakashi Matsuo
and
Takashi Matsuo
authored
Update GCE sample to Node.js v16.15.0 (#542)
* Update GCE sample to Node.js v16.15.0 Updates the GCE sample app to use Node.js v16.15.0. Currently it uses v8.12.0, which is no longer supported. * chore: add a missing end region tag Co-authored-by: Takashi Matsuo <[email protected]>
1 parent 392a0cb commit 9d9e5f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gce/startup-script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ apt-get install -yq ca-certificates git build-essential supervisor
3434

3535
# Install nodejs
3636
mkdir /opt/nodejs
37-
curl https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.gz | tar xvzf - -C /opt/nodejs --strip-components=1
37+
curl https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.gz | tar xvzf - -C /opt/nodejs --strip-components=1
3838
ln -s /opt/nodejs/bin/node /usr/bin/node
3939
ln -s /opt/nodejs/bin/npm /usr/bin/npm
4040

@@ -69,3 +69,4 @@ supervisorctl reread
6969
supervisorctl update
7070

7171
# Application should now be running under supervisor
72+
# [END startup]

0 commit comments

Comments
 (0)