Skip to content

Commit

Permalink
Update native builder base image to use mostly static
Browse files Browse the repository at this point in the history
  • Loading branch information
xlight05 committed Aug 4, 2023
1 parent 156633b commit 6f81bfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-images/native-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ghcr.io/graalvm/native-image:ol8-java11-22.2.0
FROM ghcr.io/graalvm/native-image:ol8-java11-22.3.3

COPY build-native.sh build/
8 changes: 5 additions & 3 deletions docker-images/native-builder/build-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

native-image -jar "$1" \
native-image \
-H:+StaticExecutableWithDynamicLibC \
${3:+$(echo " $3")} \
-jar "$1" \
--no-fallback \
-H:Name="${2}" \
${3:+$(echo " $3")}
-H:Name="${2}"

0 comments on commit 6f81bfc

Please sign in to comment.