Skip to content

Commit

Permalink
fix permissions on /milvus for OpenShift
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Moutier <guillaume.moutier@gmail.com>
  • Loading branch information
guimou committed Feb 22, 2024
1 parent 16b4c9a commit da40d81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/docker/milvus/amazonlinux2023/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ COPY ./configs/ /milvus/configs/

COPY ./lib/ /milvus/lib/

RUN chgrp -R root /milvus && \
chmod -R g+rwx /milvus

ENV PATH=/milvus/bin:$PATH
ENV LD_LIBRARY_PATH=/milvus/lib:$LD_LIBRARY_PATH:/usr/lib
ENV LD_PRELOAD=/milvus/lib/libjemalloc.so
Expand Down
3 changes: 3 additions & 0 deletions build/docker/milvus/gpu/ubuntu20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ COPY ./configs/ /milvus/configs/

COPY ./lib/ /milvus/lib/

RUN chgrp -R root /milvus && \
chmod -R g+rwx /milvus

ENV PATH=/milvus/bin:$PATH
ENV LD_LIBRARY_PATH=/milvus/lib:$LD_LIBRARY_PATH:/usr/lib
ENV LD_PRELOAD=/milvus/lib/libjemalloc.so
Expand Down
3 changes: 3 additions & 0 deletions build/docker/milvus/ubuntu20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ COPY ./configs/ /milvus/configs/

COPY ./lib/ /milvus/lib/

RUN chgrp -R root /milvus && \
chmod -R g+rwx /milvus

ENV PATH=/milvus/bin:$PATH
ENV LD_LIBRARY_PATH=/milvus/lib:$LD_LIBRARY_PATH:/usr/lib
ENV LD_PRELOAD=/milvus/lib/libjemalloc.so
Expand Down

0 comments on commit da40d81

Please sign in to comment.