-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add capability to build multi-arch images
* Duplicate modules to support multi-arch. * Extract platform archictecture from the version * Validate version without architecture parameter * Add buildx and qemu for platform emulation. * Do cekit build dry-run and then call docker build * Add --load to set the default docker container driver in order to load into docker. * Add GraalVM 22.0 and 22.1 java11 and java17 arm64 images. * Add Mandrel 22.0 and 22.1 java11 and java17 arm64 images. * Move tooling images to use 22.0.0-java11-amd64 image * Only test native with x86 images.
- Loading branch information
Showing
40 changed files
with
509 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
modules/graalvm/22.0.0-java11/module.yaml → ...s/graalvm/22.0.0-java11-amd64/module.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
schema_version: 1 | ||
name: graalvm | ||
version: &version "22.0.0-java11-arm64" | ||
|
||
labels: | ||
- name: graalvm-archive-filename | ||
value: &filename graalvm-ce-linux-aarch64-22.0.0.2-java11.tar.gz | ||
- name: graalvm-archive-url | ||
value: &url https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java11-linux-aarch64-22.0.0.2.tar.gz | ||
- name: graalvm-version | ||
value: &suffix java11-22.0.0 | ||
|
||
envs: | ||
- name: "JAVA_HOME" | ||
value: "/opt/graalvm" | ||
- name: "GRAALVM_HOME" | ||
value: "/opt/graalvm" | ||
- name: "GRAALVM_VERSION" | ||
value: *suffix | ||
- name: "FILENAME" | ||
value: *filename | ||
|
||
artifacts: | ||
- name: *filename | ||
url: *url | ||
sha256: 1cc0263d95f642dada4e290dca7f49c0456cefa7b690b67e3e5c159b537b2c58 | ||
|
||
packages: | ||
install: | ||
- fontconfig | ||
- freetype-devel | ||
|
||
execute: | ||
- script: configure |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
modules/graalvm/22.0.0-java17/module.yaml → ...s/graalvm/22.0.0-java17-amd64/module.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
schema_version: 1 | ||
name: graalvm | ||
version: &version "22.0.0-java17-arm64" | ||
|
||
labels: | ||
- name: graalvm-archive-filename | ||
value: &filename graalvm-ce-linux-aarch64-22.0.0.2-java17.tar.gz | ||
- name: graalvm-archive-url | ||
value: &url https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java17-linux-aarch64-22.0.0.2.tar.gz | ||
- name: graalvm-version | ||
value: &suffix java17-22.0.0 | ||
|
||
envs: | ||
- name: "JAVA_HOME" | ||
value: "/opt/graalvm" | ||
- name: "GRAALVM_HOME" | ||
value: "/opt/graalvm" | ||
- name: "GRAALVM_VERSION" | ||
value: *suffix | ||
- name: "FILENAME" | ||
value: *filename | ||
|
||
artifacts: | ||
- name: *filename | ||
url: *url | ||
sha256: c7d78387d2a144944f26773697c1b61d3478a081a1c5e7fc20f47f1f5f3c82c7 | ||
|
||
packages: | ||
install: | ||
- fontconfig | ||
- freetype-devel | ||
|
||
execute: | ||
- script: configure |
Oops, something went wrong.