1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-11 00:00:58 +00:00
plantuml/Dockerfile
Gábor Lipták ba5fef7181
Add Docker release to GHA
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-07-29 21:44:46 -04:00

16 lines
425 B
Docker

FROM openjdk:17-alpine
ARG PLANTUML_VERSION=v1.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/${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"]