Skip to content

Commit

Permalink
Copy /pulsar/bin/pulsarctl to /usr/local/bin when it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Aug 21, 2023
1 parent 310c61e commit 56e8094
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/pulsar-functions-java-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ FROM pulsar-functions-runner-base:latest
COPY --from=pulsar --chown=$UID:$GID /pulsar/instances/java-instance.jar /pulsar/instances/java-instance.jar
COPY --from=pulsar --chown=$UID:$GID /pulsar/instances/deps /pulsar/instances/deps

RUN cp /pulsar/bin/pulsarctl /usr/local//bin/pulsarctl || true

WORKDIR /pulsar

USER $USER

0 comments on commit 56e8094

Please sign in to comment.