Skip to content

Commit

Permalink
Reuse development tools oriented parent image for graalvm
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan971 committed Jan 8, 2025
1 parent 08ab853 commit 12b8745
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ ENV MD_OS_VERSION="9"
ARG JDK_VERSION="23"
ENV JDK_VERSION=${JDK_VERSION}

FROM linux-base AS graal
FROM ghcr.io/mangadex-pub/containers-base/rockylinux:9-devel AS linux-base-devel
ENV MD_OS_FLAVOUR="RockyLinux"
ENV MD_OS_VERSION="9+development-tools"

ARG JDK_VERSION="23"
ENV JDK_VERSION=${JDK_VERSION}

FROM linux-base-devel AS graal
USER root

ENV JDK_INSTALLDIR="/opt/graalvm-${JDK_VERSION}"
Expand Down

0 comments on commit 12b8745

Please sign in to comment.