diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7f959a6 --- /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@v3 + - name: Build + run: | + docker build . 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/*