Ensure java smoke test work with all versions
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 25 Nov 2022 16:28:46 +0000 (17:28 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 25 Nov 2022 16:28:46 +0000 (17:28 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Dockerfile

index 6271123e9cc00b70fbac1a39f291a8252bc78858..dcb4c74cd1dd6661d7eadad969aa74329aa0383e 100644 (file)
@@ -136,7 +136,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && rm -rf "$GNUPGHOME" /var/lib/apt/lists/* \
   && apt-get remove --purge --autoremove -y ca-certificates gnupg dirmngr \
   # smoke test
-  && java --version
+  && java -version
 
 ARG MAVEN_VERSION=3.8.6
 ARG BASE_URL=https://downloads.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries