From 9c2eda24953b4918629b1012662888976bd11b99 Mon Sep 17 00:00:00 2001 From: Oliver Feldmann Date: Wed, 2 Aug 2023 12:46:34 +0200 Subject: [PATCH 1/4] Run maven in batch mode --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2babc88..359d457 100755 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ LABEL org.opencontainers.image.description="An image for the SAP neo cli" LABEL org.opencontainers.image.licenses=Apache-2.0 RUN apk add --no-cache bash && \ - mvn 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:1.154.5.2: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/* From e47bafdad3d0d20fe54c16d397a5798eb8e70e37 Mon Sep 17 00:00:00 2001 From: Oliver Feldmann Date: Wed, 2 Aug 2023 15:35:24 +0200 Subject: [PATCH 2/4] Build on push to see that it works --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..111df13 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,10 @@ +on: push +name: Build image +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Build + run: | + docker build . \ No newline at end of file From addf57bcc112400c2674edcb5f483476827e732f Mon Sep 17 00:00:00 2001 From: Oliver Feldmann Date: Mon, 6 Nov 2023 11:13:36 +0100 Subject: [PATCH 3/4] Update .github/workflows/build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 111df13..a7f9730 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - name: Build run: | docker build . \ No newline at end of file From e4cc70344dc104d689dbbe4e6494076ce399b1ba Mon Sep 17 00:00:00 2001 From: Oliver Feldmann Date: Mon, 6 Nov 2023 11:14:00 +0100 Subject: [PATCH 4/4] Update .github/workflows/build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7f9730..7f959a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,4 +7,4 @@ jobs: - uses: actions/checkout@v3 - name: Build run: | - docker build . \ No newline at end of file + docker build .