Skip to content

Commit

Permalink
fixup linux
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal committed May 6, 2023
1 parent 7971f50 commit f552d08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN if test "${TARGETPLATFORM}" != 'linux/arm/v7'; then \
case "$(jlink --version 2>&1)" in \
# jlink version 11 has less features than JDK17+
"11."*) strip_java_debug_flags=("--strip-debug") ;; \
*) strip_java_debug_flags=("--strip-debug" "--strip-java-debug-attributes") ;; \
*) strip_java_debug_flags=("--strip-java-debug-attributes") ;; \
esac; \
jlink \
--add-modules ALL-MODULE-PATH \
Expand Down
4 changes: 2 additions & 2 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ target "alpine_jdk11" {
}

target "debian_jdk11" {
dockerfile = "bullseye/Dockerfile"
dockerfile = "debian/Dockerfile"
context = "."
args = {
JAVA_VERSION = "11.0.19_7"
Expand All @@ -91,7 +91,7 @@ target "debian_jdk11" {
}

target "debian_jdk17" {
dockerfile = "bullseye/Dockerfile"
dockerfile = "debian/Dockerfile"
context = "."
args = {
JAVA_VERSION = "11.0.19_7"
Expand Down

0 comments on commit f552d08

Please sign in to comment.