From f1f4fd18b343ed6f30ed82109284d1db92d9e08b Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:07:42 +0100 Subject: [PATCH] Re-enable eclipse temurin docker builds. See https://github.com/adoptium/temurin/issues/8 --- .github/workflows/docker-build-test.yml | 2 +- .github/workflows/docker-build.yml | 4 ++-- Dockerfile | 4 ++-- Dockerfile.ci | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml index ae9f905..f311630 100644 --- a/.github/workflows/docker-build-test.yml +++ b/.github/workflows/docker-build-test.yml @@ -22,7 +22,7 @@ jobs: - testing/docker-compose.cockroachdb.yml - testing/docker-compose.yugabytedb.yml dockerfile: - #- Dockerfile.ci + - Dockerfile.ci - Dockerfile.azul.ci #- Dockerfile.openj9.ci - Dockerfile.graalvm-jvm.ci diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index a7ea2ba..79ebb29 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -19,8 +19,8 @@ jobs: include: # - image: 1337kavin/piped:openj9 # dockerfile: ./Dockerfile.openj9.ci -# - image: 1337kavin/piped:hotspot -# dockerfile: ./Dockerfile.ci + - image: 1337kavin/piped:hotspot + dockerfile: ./Dockerfile.ci - image: 1337kavin/piped:latest,1337kavin/piped:azul-zulu dockerfile: ./Dockerfile.azul.ci - image: 1337kavin/piped:graalvm-jvm diff --git a/Dockerfile b/Dockerfile index 26146e3..039a721 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-jdk AS build +FROM eclipse-temurin:21-jdk AS build WORKDIR /app/ @@ -7,7 +7,7 @@ COPY . /app/ RUN --mount=type=cache,target=/root/.gradle/caches/ \ ./gradlew shadowJar -FROM eclipse-temurin:17-jre +FROM eclipse-temurin:21-jre RUN --mount=type=cache,target=/var/cache/apt/ \ apt-get update && \ diff --git a/Dockerfile.ci b/Dockerfile.ci index adc4949..43ce2e6 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-jre +FROM eclipse-temurin:21-jre RUN --mount=type=cache,target=/var/cache/apt/ \ apt-get update && \