Skip to content

Commit

Permalink
upgraded alpine to 3.19.1 in order to get openjdk 11.0.22* runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffcaseyyet committed Mar 22, 2024
1 parent af47642 commit f4d0eb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.14
FROM alpine:3.19.1

ADD target/bundle /lrsql
ADD .java_modules /xapipe/.java_modules
ADD .java_modules /lrsql/.java_modules

# replace the linux runtime via jlink
RUN apk update \
Expand All @@ -10,7 +10,7 @@ RUN apk update \
&& update-ca-certificates \
&& apk add --no-cache openjdk11 \
&& mkdir -p /lrsql/runtimes \
&& jlink --output /lrsql/runtimes/linux/ --add-modules $(cat /xapipe/.java_modules) \
&& jlink --output /lrsql/runtimes/linux/ --add-modules $(cat /lrsql/.java_modules) \
&& apk del openjdk11 \
&& rm -rf /var/cache/apk/*

Expand Down

0 comments on commit f4d0eb5

Please sign in to comment.