-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
26 lines (19 loc) · 941 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
FROM openjdk:14-alpine
ARG PLANTUML_VERSION=1.2019.8
ARG LANG=en_US.UTF-8
LABEL "version"="1.0.0-$PLANTUML_VERSION"
LABEL "com.github.actions.name"="PlantUML CLI"
LABEL "com.github.actions.description"="Allows generating various output files from PlantUML definitions"
LABEL "com.github.actions.icon"="printer"
LABEL "com.github.actions.color"="blue"
LABEL "repository"="https://github.com/lokkju/github-actions-plantuml.git"
LABEL "homepage"="https://github.com/lokkju/github-actions-plantuml"
LABEL "maintainer"="Loki Coyote <lokkju@gmail.com>"
RUN apk add --virtual planuml-deps --no-cache graphviz ttf-droid ttf-droid-nonlatin curl \
&& mkdir /app \
&& curl -L https://sourceforge.net/projects/plantuml/files/plantuml.${PLANTUML_VERSION}.jar/download -o /app/plantuml.jar \
&& apk del curl
COPY LICENSE README.md THIRD_PARTY_NOTICE.md /
COPY "entrypoint.sh" "/entrypoint.sh"
ENTRYPOINT ["/entrypoint.sh"]
CMD [ "-h" ]