change ownership of /opt/shared to druid (#16253)

This commit is contained in:
Charles Smith 2024-04-26 08:46:00 -07:00 committed by GitHub
parent 365cd7e8e7
commit 4e3cb9c251
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ RUN --mount=type=bind,from=builder,source=/opt,target=/builder/opt \
mkdir -p /opt/druid/var /opt/shared \ mkdir -p /opt/druid/var /opt/shared \
&& cp -r /builder/opt/druid /opt/ \ && cp -r /builder/opt/druid /opt/ \
&& /deduplicate_jars.sh /opt/druid \ && /deduplicate_jars.sh /opt/druid \
&& chown -R druid:druid /opt/druid \ && chown -R druid:druid /opt/druid /opt/shared \
&& chmod 775 /opt/druid/var /opt/shared && chmod 775 /opt/druid/var /opt/shared
USER druid USER druid