We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe26136 commit 0ce7b0dCopy full SHA for 0ce7b0d
rakelib/package.rb
@@ -73,7 +73,14 @@ def self.version
73
74
BUILDPACK_VERSION = JavaBuildpack::BuildpackVersion.new(false).freeze
75
76
- PLATFORMS = %w[bionic jammy].freeze
+ PLATFORMS = %w[]
77
+ platform_var = ENV.fetch('PLATFORMS', 'bionic')
78
+ if platform_var != 'bionic'
79
+ platform_var = platform_var.split(',')
80
+ (PLATFORMS << platform_var).flatten!.uniq!
81
+ else
82
+ PLATFORMS << platform_var
83
+ end
84
85
STAGING_DIR = "#{BUILD_DIR}/staging".freeze
86
0 commit comments