diff --git a/images/pulsar-functions-java-runner/Dockerfile b/images/pulsar-functions-java-runner/Dockerfile index 672befe98..e9f32d6b8 100644 --- a/images/pulsar-functions-java-runner/Dockerfile +++ b/images/pulsar-functions-java-runner/Dockerfile @@ -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