Skip to content

Commit ca0bf18

Browse files
committed
feat: include WASM target support
1 parent 76e1b07 commit ca0bf18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎image/Dockerfile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,20 +161,23 @@ RUN --mount=type=secret,id=github_token,required=false <<EOF
161161
--exclude=*/lib/src.zip \
162162
--exclude=*/lib/visualvm
163163

164-
/opt/graalvm/bin/gu install native-image || true # does not exist in dev
164+
/opt/graalvm/bin/gu install native-image || true # may not exist for some distributions/dev builds
165+
/opt/graalvm/bin/gu install wasm || true # may not exist for some distributions/dev builds
165166

166167
strip --strip-unneeded \
167168
/opt/graalvm/bin/unpack200 `# does not exist in Java 17+` \
168169
/opt/graalvm/languages/js/bin/js \
169170
/opt/graalvm/languages/llvm/bin/lli `# does not exist in dev` \
170171
/opt/graalvm/languages/llvm/native/bin/graalvm-native-* `# does not exist in dev` \
172+
/opt/graalvm/languages/wasm/bin/wasm `# wasm launcher, if installed` \
171173
/opt/graalvm/lib/installer/bin/gu `# does not exist in dev` \
172174
/opt/graalvm/lib/svm/bin/native-image || true
173175

174176
if [[ $UPX_COMPRESS == "true" ]]; then
175177
/opt/upx/upx -9 \
176178
/opt/graalvm/languages/llvm/bin/lli \
177179
/opt/graalvm/languages/llvm/native/bin/graalvm-native-* \
180+
/opt/graalvm/languages/wasm/bin/wasm \
178181
/opt/graalvm/lib/installer/bin/gu \
179182
/opt/graalvm/lib/svm/bin/native-image || true
180183
#/opt/graalvm/bin/unpack200 \

0 commit comments

Comments
 (0)