You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2024/05/17 07:39:50 UTC
(pulsar) branch master updated: [fix][build] Fixed creation of `packages-storage` directory in docker image (#22730)
This is an automated email from the ASF dual-hosted git repository.
zhaocong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 0c6f2480685 [fix][build] Fixed creation of `packages-storage` directory in docker image (#22730)
0c6f2480685 is described below
commit 0c6f2480685b38cd131876c11a32e7c16890575b
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Fri May 17 00:39:43 2024 -0700
[fix][build] Fixed creation of `packages-storage` directory in docker image (#22730)
---
docker/pulsar/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index e1f1dd1e06f..4c22a033d83 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -39,7 +39,7 @@ COPY scripts/* /pulsar/bin/
# container when gid=0 is prohibited. In that case, the container must be run with uid 10000 with
# any group id != 0 (for example 10001).
# The file permissions are preserved when copying files from this builder image to the target image.
-RUN for SUBDIRECTORY in conf data download logs instances/deps; do \
+RUN for SUBDIRECTORY in conf data download logs instances/deps packages-storage; do \
mkdir -p /pulsar/$SUBDIRECTORY; \
chmod -R ug+rwx /pulsar/$SUBDIRECTORY; \
chown -R 10000:0 /pulsar/$SUBDIRECTORY; \