Skip to content

Commit 4287c7e

Browse files
committed
Add Vector
1 parent f1c1071 commit 4287c7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vector/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG PRODUCT
77
ARG RPM_RELEASE
88
ARG INOTIFY_TOOLS
99
ARG TARGETARCH
10+
ARG STACKABLE_USER_UID
1011

1112
# Init Jobs/Pods often start a Vector Sidecar Container which collects the logs.
1213
# As soon as an Init Container is done it'll need to tell the Vector sidecar that it can now also stop
@@ -25,4 +26,4 @@ RUN ARCH="${TARGETARCH/amd64/x86_64}" ARCH="${ARCH/arm64/aarch64}" && \
2526
# Vector state, such as on-disk buffers, file checkpoints, and more.
2627
# Vector needs write permissions.
2728
mkdir --parents /stackable/vector/var && \
28-
chown --recursive stackable:stackable /stackable/
29+
chown --recursive ${STACKABLE_USER_UID}:0 /stackable/

0 commit comments

Comments
 (0)