1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 02:49:06 +00:00

Merge pull request #1067 from gliptak/docker1

Add initial Dockerfile
This commit is contained in:
PlantUML 2022-07-29 16:32:31 +02:00 committed by GitHub
commit e19e261bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
Dockerfile Normal file
View File

@ -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"]