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

Fix GraalVM container pull URL #1644 #1657

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object GraalVMNativeImagePlugin extends AutoPlugin {

import autoImport._

private val GraalVMBaseImage = "ghcr.io/graalvm/graalvm-ce"
private val GraalVMBaseImage = "ghcr.io/graalvm/graalvm-community"

override def requires: Plugins = JavaAppPackaging

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ enablePlugins(GraalVMNativeImagePlugin)

name := "docker-test"
version := "0.1.0"
graalVMNativeImageGraalVersion := Some("22.3.3")
graalVMNativeImageGraalVersion := Some("23.0.1")
6 changes: 3 additions & 3 deletions src/sphinx/formats/graalvm-native-image.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ customized using the following settings.
``graalVMNativeImageGraalVersion``
Setting this enables generating a Docker container to build the native image, and then building it in that container.
It must correspond to a valid version of the
`Oracle GraalVM Community Edition Docker image <https://github.com/graalvm/container/pkgs/container/graalvm-ce/>`_. This setting has no
`Oracle GraalVM Community Edition Docker image <https://github.com/graalvm/container/pkgs/container/graalvm-community/>`_. This setting has no
effect if ``containerBuildImage`` is explicitly set.

For example:

.. code-block:: scala

graalVMNativeImageGraalVersion := Some("19.1.1")
graalVMNativeImageGraalVersion := Some("23.0.1")

``containerBuildImage``

Expand All @@ -83,7 +83,7 @@ customized using the following settings.

.. code-block:: scala

containerBuildImage := Some("my-docker-username/graalvm-ce-native-image:19.1.1")
containerBuildImage := Some("my-docker-username/graalvm-community-native-image:23.0.1")

A helper is provided to automatically generate a container build image from a base image that contains a Graal
installation. For example, if you have a GraalVM enterprise edition docker image, you can turn it into a native
Expand Down
Loading