Skip to content

Commit

Permalink
Switch to JDK instead of JRE
Browse files Browse the repository at this point in the history
  • Loading branch information
vadeg committed Jun 30, 2021
1 parent 3cf1e9c commit b4a7a7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ build_steps:
apt-get update -qq --allow-unauthenticated
apt-get install --no-install-recommends -y jq
curl -fLOsS https://delivery.cloud.zalando.com/utils/ensure-docker && sh ensure-docker
docker pull registry.opensource.zalan.do/library/openjdk-11-jre-slim:latest
docker pull registry.opensource.zalan.do/library/openjdk-11-jdk-slim:latest
docker pull node:10
- desc: "Build and Test"
cmd: |
docker run --rm -w /build -v $PWD/server:/build:rw registry.opensource.zalan.do/library/openjdk-11-jre-slim:latest ./gradlew build --info
docker run --rm -w /build -v $PWD/server:/build:rw registry.opensource.zalan.do/library/openjdk-11-jdk-slim:latest ./gradlew build --info
docker run --rm -w /build -v $PWD/web-ui:/build:rw node:10 bash -c 'npm install -q ; npm test ; npm run build'
docker run --rm -w /build -v $PWD/github-integration:/build:rw registry.opensource.zalan.do/library/openjdk-11-jre-slim:latest ./gradlew build -x test --info
docker run --rm -w /build -v $PWD/github-integration:/build:rw registry.opensource.zalan.do/library/openjdk-11-jdk-slim:latest ./gradlew build -x test --info
- desc: "Build and Push Docker Images"
cmd: bash .delivery/build-and-push.sh

0 comments on commit b4a7a7d

Please sign in to comment.