RUN set -ex \
&& apt-get update \
- && apt-get install -y ca-certificates curl procps --no-install-recommends \
+ && apt-get install -y ca-certificates curl gnupg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
+ && curl -fsSLO --compressed ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
+ && curl -fsSLO --compressed ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz.asc \
+ && for key in \
+ 6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688 \
+ ; do \
+ gpg --batch --keyserver hkps://pgp.surf.nl --recv-keys "$key" || \
+ gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" ; \
+ done \
+ && gpg --batch --verify apache-maven-${MAVEN_VERSION}-bin.tar.gz.asc apache-maven-${MAVEN_VERSION}-bin.tar.gz \
&& mkdir -p ${MAVEN_HOME} ${MAVEN_HOME}/ref \
- && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
- && echo "${SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - \
- && tar -xzf /tmp/apache-maven.tar.gz -C ${MAVEN_HOME} --strip-components=1 \
- && rm -f /tmp/apache-maven.tar.gz \
+ && tar -xzf apache-maven-${MAVEN_VERSION}-bin.tar.gz -C ${MAVEN_HOME} --strip-components=1 \
+ && rm -f apache-maven-${MAVEN_VERSION}-bin.tar.gz.asc apache-maven-${MAVEN_VERSION}-bin.tar.gz \
+ && chmod --recursive a+w ${MAVEN_HOME}/conf/* \
&& ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn \
++<<<<<<< HEAD
+ && chmod --recursive a+w ${MAVEN_HOME}/conf/* \
+ && apt-get remove --purge --autoremove -y ca-certificates curl \
++=======
+ && apt-get remove --purge --autoremove -y ca-certificates curl gnupg dirmngr \
++>>>>>>> main
# smoke test
&& mvn --version
platform: linux/amd64
build:
dockerfile: Dockerfile
- NODE_VERSION: 14.20.1
+ mbt-node18-java11-docker:
+ platform: linux/amd64
+ build:
+ args:
+ NODE_VERSION: 18.12.0
+ SAPMACHINE_VERSION: 11.0.16.1
+ dockerfile: Dockerfile
+ mbt-node16-java11-docker:
+ platform: linux/amd64
+ build:
+ args:
+ NODE_VERSION: 16.18.0
+ SAPMACHINE_VERSION: 11.0.16.1
+ dockerfile: Dockerfile
+ mbt-node14-java11-docker:
+ platform: linux/amd64
+ build:
+ args:
- NODE_VERSION: 14.20.1
++ NODE_VERSION: 14.21.0
+ SAPMACHINE_VERSION: 11.0.16.1
+ dockerfile: Dockerfile
+ mbt-node18-java17-docker:
+ platform: linux/amd64
+ build:
+ args:
+ NODE_VERSION: 18.12.0
+ SAPMACHINE_VERSION: 17.0.4.1
+ dockerfile: Dockerfile
+ mbt-node16-java17-docker:
+ platform: linux/amd64
+ build:
+ args:
+ NODE_VERSION: 16.18.0
+ SAPMACHINE_VERSION: 17.0.4.1
+ dockerfile: Dockerfile
+ mbt-node14-java17-docker:
+ platform: linux/amd64
+ build:
+ args:
- NODE_VERSION: 14.20.1
++ NODE_VERSION: 14.21.0
+ 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.21.0
+ SAPMACHINE_VERSION: 19.0.1
+ dockerfile: Dockerfile