diff --git a/Dockerfile b/Dockerfile index 3ef75036b..8e45914a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ---------------------------------------------------------------------- # BUILD CLOWDER DIST # ---------------------------------------------------------------------- -FROM openjdk:8-jdk-bullseye as clowder-build +FROM eclipse-temurin:8-jdk as clowder-build ARG BRANCH="unknown" ARG VERSION="unknown" @@ -10,6 +10,10 @@ ARG GITSHA1="unknown" WORKDIR /src +RUN apt-get update && \ + apt-get -y install --no-install-recommends unzip zip && \ + rm -rf rm -rf /var/lib/apt/lists/* + # install clowder libraries (hopefully cached) COPY sbt* /src/ COPY project /src/project @@ -40,7 +44,7 @@ RUN rm -rf target/universal/clowder-*.zip clowder clowder-* \ # ---------------------------------------------------------------------- # BUILD CLOWDER # ---------------------------------------------------------------------- -FROM openjdk:8-jre-bullseye as clowder-runtime +FROM eclipse-temurin:8-jre as clowder-runtime # environemnt variables ARG BRANCH="unknown"