Skip to content

Commit

Permalink
lib upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelhg committed Dec 29, 2021
1 parent 77acd5e commit 3788e8c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
ARG PLANTUML_VERSION=1.2021.4
ARG MKDOCS_MATERIAL_VERSION=7.1.0
ARG MKDOCS_MATERIAL_VERSION=8.1.3

FROM adoptopenjdk/openjdk16:alpine AS BUILD
ARG PLANTUML_VERSION=1.2021.4
FROM openjdk:18-alpine AS BUILD
ARG PLANTUML_VERSION=1.2021.16
ENV PLANTUML_URL="https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml/${PLANTUML_VERSION}/plantuml-${PLANTUML_VERSION}.jar"
RUN apk add --no-cache wget binutils \
&& wget -q -O /usr/local/lib/plantuml.jar "${PLANTUML_URL}" \
&& /opt/java/openjdk/bin/jlink --no-header-files --no-man-pages --compress=2 --strip-debug \
--add-modules $(/opt/java/openjdk/bin/jdeps --ignore-missing-deps --print-module-deps /usr/local/lib/plantuml.jar) \
&& jlink --no-header-files --no-man-pages --compress=2 --strip-debug \
--add-modules $(jdeps --ignore-missing-deps --print-module-deps /usr/local/lib/plantuml.jar) \
--output /opt/customjre

FROM squidfunk/mkdocs-material:$MKDOCS_MATERIAL_VERSION
Expand Down

0 comments on commit 3788e8c

Please sign in to comment.