Skip to content

Commit

Permalink
Merge pull request #46 from SAP/upgradeNeoSdkVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
o-liver committed Dec 18, 2023
2 parents bbca655 + 80ac0fc commit 7112fa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit 7112fa1

Please sign in to comment.