From 4b7a316fb52ef10dcebc3df92d569670be88a612 Mon Sep 17 00:00:00 2001 From: Jason Montleon Date: Thu, 10 Oct 2024 15:05:55 -0400 Subject: [PATCH] :sparkles: Run from /addon so we can run as non-root user (#703) Signed-off-by: Jason Montleon Signed-off-by: Cherry Picker --- external-providers/java-external-provider/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external-providers/java-external-provider/Dockerfile b/external-providers/java-external-provider/Dockerfile index a9b27b51..01b166af 100644 --- a/external-providers/java-external-provider/Dockerfile +++ b/external-providers/java-external-provider/Dockerfile @@ -21,5 +21,5 @@ FROM quay.io/konveyor/jdtls-server-base COPY --from=builder /java-provider/java-external-provider /usr/local/bin/java-external-provider EXPOSE 14651 - -ENTRYPOINT ["java-external-provider", "--port", "14651"] \ No newline at end of file +WORKDIR /addon +ENTRYPOINT ["java-external-provider", "--port", "14651"]