mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 04:55:10 +00:00
Add initial Dockerfile
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
This commit is contained in:
parent
dd53272c19
commit
76023f37bb
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user