Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade neo sdk version #46

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*