diff --git a/Dockerfile b/Dockerfile index 359d457..a4a4cc0 100755 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,10 @@ LABEL org.opencontainers.image.source=https://github.com/SAP/devops-docker-neo-c LABEL org.opencontainers.image.description="An image for the SAP neo cli" LABEL org.opencontainers.image.licenses=Apache-2.0 +ARG NEO_SDK_VERSION=1.163.6 + RUN apk add --no-cache bash && \ - mvn --batch-mode com.sap.cloud:neo-javaee7-wp-maven-plugin:1.154.5.2:install-sdk -DsdkInstallPath=sdk -Dincludes=tools/**,license/**,sdk.version && \ + mvn --batch-mode com.sap.cloud:neo-javaee7-wp-maven-plugin:${NEO_SDK_VERSION}:install-sdk -DsdkInstallPath=sdk -Dincludes=tools/**,license/**,sdk.version && \ chmod -R 777 sdk && \ ln -s /sdk/tools/neo.sh /usr/bin/neo.sh && \ rm -rf /var/lib/apt/lists/*