From fe935332dd0f0efe6393d9c3f6c8ba2a09e2d9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20Kiiskil=C3=A4?= Date: Fri, 12 Jan 2024 18:06:25 +0200 Subject: [PATCH] Dockerfile.simple-pt-example - upgrade node to version 18 Version 12 is ancient. Version 18 also works just fine. Fix one type in the README.md. --- CHANGELOG.md | 5 +++-- Dockerfile.simple-pt-example | 2 +- simple-js-examples/README.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71765b1..e1dc7e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ## Release 0.21.1 -* Update mbed-edge submodule to 0.21.1. -* Dockerfile.pt-example takes into account now the case where build or build-debug exists in work area. +* Update `mbed-edge` submodule to 0.21.1. +* `Dockerfile.pt-example` takes into account now the case where build or build-debug exists in work area. +* `Dockerfile.simpe-pt-example` base image upgraded to `node:alpine3.18.` ## Release 0.21.0 diff --git a/Dockerfile.simple-pt-example b/Dockerfile.simple-pt-example index 0317f33..dd1ca4a 100644 --- a/Dockerfile.simple-pt-example +++ b/Dockerfile.simple-pt-example @@ -1,4 +1,4 @@ -FROM node:12.22.1-alpine3.12 +FROM node:alpine3.18 WORKDIR /usr/src/app/simple-js-examples diff --git a/simple-js-examples/README.md b/simple-js-examples/README.md index 1775866..27918fa 100644 --- a/simple-js-examples/README.md +++ b/simple-js-examples/README.md @@ -109,7 +109,7 @@ Fixed values for the example: from [Device Management Portal](https://portal.mbedcloud.com) 1. Run this example and connect to Edge. ```bash - nodejs simple-pt-example.js + node simple-pt-example.js ``` Or, using docker ```