From d26f6c38254d511f2f4b7ed5d6944ad3edfb9a98 Mon Sep 17 00:00:00 2001 From: Anthony Dahanne Date: Sat, 16 Mar 2024 00:36:07 +0000 Subject: [PATCH] Add dualarch configuration --- buildpack.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/buildpack.toml b/buildpack.toml index e9699fe..ac69531 100644 --- a/buildpack.toml +++ b/buildpack.toml @@ -27,8 +27,17 @@ api = "0.7" type = "Apache-2.0" uri = "https://github.com/paketo-buildpacks/leiningen/blob/main/LICENSE" +[[targets]] +os = "linux" +arch = "amd64" + +[[targets]] +os = "linux" +arch = "arm64" + + [metadata] - include-files = ["LICENSE", "NOTICE", "README.md", "bin/build", "bin/detect", "bin/main", "buildpack.toml"] + include-files = ["LICENSE", "NOTICE", "README.md", "linux/amd64/bin/build", "linux/amd64/bin/detect", "linux/amd64/bin/main", "linux/arm64/bin/build", "linux/arm64/bin/detect", "linux/arm64/bin/main", "buildpack.toml"] pre-package = "scripts/build.sh" [[metadata.configurations]]