From bde3206b44e81542c46ab9746cbf2fc4ee420688 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 21 Apr 2023 14:29:56 +0200 Subject: [PATCH] Add node.js 20.x.x support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- build-image.sh | 16 ++++++++-------- docker-compose.yml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 8 deletions(-) diff --git a/build-image.sh b/build-image.sh index 904ed52..21f159d 100755 --- a/build-image.sh +++ b/build-image.sh @@ -2,15 +2,15 @@ shopt -s extglob -images="mbt-node14-java8-docker mbt-node16-java8-docker mbt-node18-java8-docker \ - mbt-node14-java11-docker mbt-node16-java11-docker mbt-node18-java11-docker \ - mbt-node14-java17-docker mbt-node16-java17-docker mbt-node18-java17-docker \ - mbt-node14-java20-docker mbt-node16-java20-docker mbt-node18-java20-docker" +images="mbt-node14-java8-docker mbt-node16-java8-docker mbt-node18-java8-docker mbt-node20-java8-docker \ + mbt-node14-java11-docker mbt-node16-java11-docker mbt-node18-java11-docker mbt-node20-java11-docker \ + mbt-node14-java17-docker mbt-node16-java17-docker mbt-node18-java17-docker mbt-node20-java17-docker \ + mbt-node14-java20-docker mbt-node16-java20-docker mbt-node18-java20-docker mbt-node20-java20-docker" -# repositories="mbt-node14-java8-docker mbt-node16-java8-docker mbt-node18-java8-docker \ -# mbt-node14-java11-docker mbt-node16-java11-docker mbt-node18-java11-docker \ -# mbt-node14-java17-docker mbt-node16-java17-docker mbt-node18-java17-docker \ -# mbt-node14-java20-docker mbt-node16-java20-docker mbt-node18-java20-docker" +# repositories="mbt-node14-java8-docker mbt-node16-java8-docker mbt-node18-java8-docker mbt-node20-java8-docker \ +# mbt-node14-java11-docker mbt-node16-java11-docker mbt-node18-java11-docker mbt-node20-java11-docker \ +# mbt-node14-java17-docker mbt-node16-java17-docker mbt-node18-java17-docker mbt-node20-java17-docker \ +# mbt-node14-java20-docker mbt-node16-java20-docker mbt-node18-java20-docker mbt-node20-java20-docker" repositories=${images} diff --git a/docker-compose.yml b/docker-compose.yml index 5f487fb..0a13552 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,13 @@ version: '3.8' services: + mbt-node20-java8-docker: + platform: linux/amd64 + build: + context: . + dockerfile: Dockerfile + args: + NODE_VERSION: 20.0.0 + SAPMACHINE_VERSION: 8.1.092 mbt-node18-java8-docker: platform: linux/amd64 build: @@ -24,6 +32,14 @@ services: args: NODE_VERSION: 14.21.3 SAPMACHINE_VERSION: 8.1.092 + mbt-node20-java11-docker: + platform: linux/amd64 + build: + context: . + dockerfile: Dockerfile + args: + NODE_VERSION: 20.0.0 + SAPMACHINE_VERSION: 11.0.19 mbt-node18-java11-docker: platform: linux/amd64 build: @@ -48,6 +64,14 @@ services: args: NODE_VERSION: 14.21.3 SAPMACHINE_VERSION: 11.0.19 + mbt-node20-java17-docker: + platform: linux/amd64 + build: + context: . + dockerfile: Dockerfile + args: + NODE_VERSION: 20.0.0 + SAPMACHINE_VERSION: 17.0.7 mbt-node18-java17-docker: platform: linux/amd64 build: @@ -72,6 +96,14 @@ services: args: NODE_VERSION: 14.21.3 SAPMACHINE_VERSION: 17.0.7 + mbt-node20-java20-docker: + platform: linux/amd64 + build: + context: . + dockerfile: Dockerfile + args: + NODE_VERSION: 20.0.0 + SAPMACHINE_VERSION: 20.0.1 mbt-node18-java20-docker: platform: linux/amd64 build: -- 2.34.1