Skip to content

Commit 07e3bf8

Browse files
committed
chore: specify permission when creating dir
1 parent 248f4a7 commit 07e3bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chronograf/1.10/alpine/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN set -ex && \
2828
apk del .build-deps && \
2929
addgroup -S chronograf && \
3030
adduser -S chronograf -G chronograf && \
31-
mkdir -p /var/lib/chronograf && \
32-
chown -R chronograf:chronograf /var/lib/chronograf
31+
mkdir -m 0750 -p /var/lib/chronograf && \
32+
chown chronograf:chronograf /var/lib/chronograf
3333

3434
COPY LICENSE /usr/share/chronograf/LICENSE
3535
COPY agpl-3.0.md /usr/share/chronograf/agpl-3.0.md

0 commit comments

Comments
 (0)