Skip to content

Commit c4716d4

Browse files
committed
Revert COPY --chmod to RUN
1 parent 05c8a17 commit c4716d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ RUN mkdir -p /usr/share/man/man1 && apk add --no-cache openjdk8 graphviz && \
55
wget -q -O plantuml.jar https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar && \
66
mkdir -p /opt/plantuml && mv plantuml.jar /opt/plantuml/plantuml.jar
77
ENV ALLOW_PLANTUML_INCLUDE=true
8-
COPY --chmod=777 script/plantuml.sh /usr/local/bin/plantuml
8+
COPY script/plantuml.sh /usr/local/bin/plantuml
9+
RUN chmod +x /usr/local/bin/plantuml
910

1011
# Download Python Markdown + dependencies
1112
COPY config/requirements.txt /usr/local/src/requirements.txt
@@ -20,5 +21,6 @@ COPY config/theme.main.html /usr/local/src/theme.main.html
2021
COPY config/theme.404.html /usr/local/src/theme.404.html
2122

2223
# Entrypoint
23-
COPY --chmod=777 script/makedocs.sh /usr/local/bin/makedocs
24+
COPY script/makedocs.sh /usr/local/bin/makedocs
25+
RUN chmod +x /usr/local/bin/makedocs
2426
ENTRYPOINT [ "makedocs" ]

0 commit comments

Comments
 (0)