Skip to content

Commit fb28541

Browse files
authored
Merge pull request #44 from SAP/batchMode
Run maven in batch mode
2 parents c83d2d5 + e4cc703 commit fb28541

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
on: push
2+
name: Build image
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- name: Build
9+
run: |
10+
docker build .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LABEL org.opencontainers.image.description="An image for the SAP neo cli"
55
LABEL org.opencontainers.image.licenses=Apache-2.0
66

77
RUN apk add --no-cache bash && \
8-
mvn com.sap.cloud:neo-javaee7-wp-maven-plugin:1.154.5.2:install-sdk -DsdkInstallPath=sdk -Dincludes=tools/**,license/**,sdk.version && \
8+
mvn --batch-mode com.sap.cloud:neo-javaee7-wp-maven-plugin:1.154.5.2:install-sdk -DsdkInstallPath=sdk -Dincludes=tools/**,license/**,sdk.version && \
99
chmod -R 777 sdk && \
1010
ln -s /sdk/tools/neo.sh /usr/bin/neo.sh && \
1111
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)