Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and run core using eclipse-temurin:8. #434

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down
Loading