Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ ENV PULSAR_ROOT_LOGGER=INFO,CONSOLE

COPY --from=pulsar /pulsar /pulsar

# COPY --from resets the destination directory owner to root:root regardless of
# what was set in the source stage. Re-apply ownership here so that uid 10000
# can write directly into /pulsar (e.g. token-superuser-stripped.jwt written by
# the Helm chart startup script when enableTokenAuth=true).
RUN chown 10000:0 /pulsar

WORKDIR /pulsar
ENV PATH=$PATH:$JAVA_HOME/bin:/pulsar/bin

Expand Down
Loading