You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/04/28 17:23:51 UTC

[GitHub] [druid] xvrl commented on a change in pull request #11167: Fix permission problem when creating dirs

xvrl commented on a change in pull request #11167:
URL: https://github.com/apache/druid/pull/11167#discussion_r622389540



##########
File path: distribution/docker/Dockerfile
##########
@@ -47,12 +47,13 @@ RUN ["/busybox/busybox", "--install", "/bin"]
 
 RUN addgroup -S -g 1000 druid \
  && adduser -S -u 1000 -D -H -h /opt/druid -s /bin/sh -g '' -G druid druid \
- && mkdir -p /opt/druid/var \
- && chown -R druid:druid /opt \
- && chmod 775 /opt/druid/var
+ && mkdir -p /opt

Review comment:
       I don't think creating `/opt` is necessary, the COPY will take care of it




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org