Skip to content

Commit 28aedb6

Browse files
committed
otimize graalvm fix bugs 20 - switch image to ubuntu arm, revert to work with ARG BUILDPLATFORM, remove cache
add same runner: ubuntu-latest switch to mvnw improve profile default add -Pnative no enable build native march again, and runner arm enable cache and SPRING_ACTIVE_PROFILE=cicd try to fix docker add wget add make to install musl enable static with fix make install and try to fix docker manifest try new way to install musl an link it add labs-openjdk arm and amd
1 parent 5856911 commit 28aedb6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ RUN set -eux; \
4747
fi; \
4848
wget -q "https://github.com/graalvm/labs-openjdk/releases/download/${JDK_TAG}/${ASSET}" \
4949
-O "/tmp/${ASSET}"; \
50-
# Create destination dir
5150
mkdir -p "/usr/lib64/graalvm/graalvm-community-java23/lib/static/${STATIC_SUBPATH}/musl"; \
52-
# Extract only the musl static libs
5351
tar -xzf "/tmp/${ASSET}" \
5452
--strip-components=2 \
5553
-C "/usr/lib64/graalvm/graalvm-community-java23/lib/static/${STATIC_SUBPATH}/musl" \
56-
"labsjdk-ce-${JDK_TAG}-linux-${STATIC_SUBPATH}/lib/static/${STATIC_SUBPATH}/musl"; \
54+
"labsjdk-ce-${JDK_TAG}-${STATIC_SUBPATH}/lib/static/${STATIC_SUBPATH}/musl"; \
5755
rm "/tmp/${ASSET}"
5856

57+
5958
# copy only what's needed for mvnw bootstrap
6059
COPY mvnw ./
6160
COPY .mvn/ .mvn/

0 commit comments

Comments
 (0)