From 76023f37bbeaa42d146cd80e5a30011193b727e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Wed, 27 Jul 2022 18:41:16 -0400 Subject: [PATCH] Add initial Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gábor Lipták --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..1504cb21c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM openjdk:17-alpine + +ARG PLANTUML_VERSION=1.2022.6 + +ENV LANG en_US.UTF-8 + +RUN \ + apk add --no-cache graphviz wget ca-certificates ttf-dejavu && \ + wget "https://github.com/plantuml/plantuml/releases/download/v${PLANTUML_VERSION}/plantuml-${PLANTUML_VERSION}.jar" -O /opt/plantuml.jar && \ + apk del wget ca-certificates + +WORKDIR /data +VOLUME ["/data"] + +ENTRYPOINT ["java", "-jar", "/opt/plantuml.jar"] +CMD ["-version"] \ No newline at end of file