Skip to content

Commit 8adc4b5

Browse files
committed
Added binding to native-image.sh script
1 parent e417577 commit 8adc4b5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ For example:
1616

1717
```bash
1818
./native-image.sh --version
19+
20+
./native-image.sh -jar /tmp/input.jar /tmp/output.exec -O10 --native-compiler-options="-Wl,--strip-all -O10"
1921
```
2022

23+
2124
## GraalVM native-image usage
2225

2326
```

native-image.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ fi
2323
docker run \
2424
--rm \
2525
-it \
26-
-v $(pwd)/tests:/tmp/ \
27-
-e GRAALVM_SOURCE=${GRAALVM_SOURCE} \
26+
-v $(pwd):/tmp/ \
2827
${DOCKER_IMAGE} native-image $@

test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ docker run \
2424
--rm \
2525
-it \
2626
-v $(pwd)/tests:/tmp/ \
27-
-e GRAALVM_SOURCE=${GRAALVM_SOURCE} \
2827
${DOCKER_IMAGE} /bin/bash /tmp/tests.sh

0 commit comments

Comments
 (0)