From 81986a8d2bf945d84bb3258b96d6310c05fc5c3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 29 Oct 2022 11:36:51 +0200 Subject: [PATCH] Add SAP Machine 19 images MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- Dockerfile | 4 +++- build-image.sh | 4 +++- docker-compose.yml | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd92977..e8277c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ RUN set -ex \ && apt-get update \ && apt-get install -y openssl --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ + # smoke test + && openssl version \ && useradd --home-dir ${USER_HOME_DIR} \ --create-home \ --shell /bin/bash \ @@ -148,7 +150,7 @@ RUN set -ex \ && tar -xzf /tmp/apache-maven.tar.gz -C ${MAVEN_HOME} --strip-components=1 \ && rm -f /tmp/apache-maven.tar.gz \ && ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn \ - && chmod --recursive a+w "${MAVEN_HOME}"/conf/* \ + && chmod --recursive a+w ${MAVEN_HOME}/conf/* \ && apt-get remove --purge --autoremove -y ca-certificates curl \ # smoke test && mvn --version diff --git a/build-image.sh b/build-image.sh index ce30de3..bb55f2f 100755 --- a/build-image.sh +++ b/build-image.sh @@ -1,6 +1,8 @@ #!/usr/bin/env sh -images="mbt-node14-java11-docker mbt-node16-java11-docker mbt-node18-java11-docker mbt-node14-java17-docker mbt-node16-java17-docker mbt-node18-java17-docker" +images="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-java19-docker mbt-node16-java19-docker mbt-node18-java19-docker" usage() { echo "Usage: $0 [-n <${images// /|}|all>" 1>&2; exit 1; diff --git a/docker-compose.yml b/docker-compose.yml index 1798092..58e138e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,3 +47,24 @@ services: NODE_VERSION: 14.20.1 SAPMACHINE_VERSION: 17.0.4.1 dockerfile: Dockerfile + mbt-node18-java19-docker: + platform: linux/amd64 + build: + args: + NODE_VERSION: 18.12.0 + SAPMACHINE_VERSION: 19.0.1 + dockerfile: Dockerfile + mbt-node16-java19-docker: + platform: linux/amd64 + build: + args: + NODE_VERSION: 16.18.0 + SAPMACHINE_VERSION: 19.0.1 + dockerfile: Dockerfile + mbt-node14-java19-docker: + platform: linux/amd64 + build: + args: + NODE_VERSION: 14.20.1 + SAPMACHINE_VERSION: 19.0.1 + dockerfile: Dockerfile -- 2.34.1