-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (19 loc) · 968 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM frolvlad/alpine-oraclejre8 as latest
MAINTAINER Bashkirtsev D.A. <[email protected]>
LABEL maintainer="[email protected]"
RUN apk add --no-cache graphviz wget ca-certificates && \
wget https://sourceforge.net/projects/plantuml/files/latest/download -O plantuml.jar && \
apk del wget ca-certificates
ENV LANG en_US.UTF-8
ENTRYPOINT ["java", "-Djava.awt.headless=true", "-jar", "plantuml.jar", "-p"]
CMD ["-tsvg", "-charset", "utf-8"]
FROM frolvlad/alpine-oraclejre8 as specific
MAINTAINER Bashkirtsev D.A. <[email protected]>
LABEL maintainer="[email protected]"
ARG version
RUN apk add --no-cache graphviz wget ca-certificates && \
wget "https://sourceforge.net/projects/plantuml/files/${version}/plantuml.${version}.jar" -O plantuml.jar && \
apk del wget ca-certificates
ENV LANG en_US.UTF-8
ENTRYPOINT ["java", "-Djava.awt.headless=true", "-jar", "plantuml.jar", "-p"]
CMD ["-tsvg", "-charset", "utf-8"]