From 0cfa177d1c0be5be291dc7743570000c573ab8dc Mon Sep 17 00:00:00 2001 From: David Li <63334933+9t8@users.noreply.github.com> Date: Fri, 16 Aug 2024 05:49:29 -0700 Subject: [PATCH] add workdir instructions Signed-off-by: David Li <63334933+9t8@users.noreply.github.com> --- bitnami/java/1.8/debian-12/Dockerfile | 1 + bitnami/java/11/debian-12/Dockerfile | 1 + bitnami/java/17/debian-12/Dockerfile | 1 + bitnami/java/21/debian-12/Dockerfile | 1 + bitnami/java/22/debian-12/Dockerfile | 1 + 5 files changed, 5 insertions(+) diff --git a/bitnami/java/1.8/debian-12/Dockerfile b/bitnami/java/1.8/debian-12/Dockerfile index a81dfee588a6f..83b51d06665fb 100644 --- a/bitnami/java/1.8/debian-12/Dockerfile +++ b/bitnami/java/1.8/debian-12/Dockerfile @@ -61,4 +61,5 @@ ENV APP_VERSION="1.8.422-6" \ PATH="/opt/bitnami/java/bin:$PATH" ENTRYPOINT [ "/opt/bitnami/scripts/java/entrypoint.sh" ] +WORKDIR /app CMD [ "bash" ] diff --git a/bitnami/java/11/debian-12/Dockerfile b/bitnami/java/11/debian-12/Dockerfile index 251f57798d5f3..d32a01b43ac17 100644 --- a/bitnami/java/11/debian-12/Dockerfile +++ b/bitnami/java/11/debian-12/Dockerfile @@ -61,4 +61,5 @@ ENV APP_VERSION="11.0.24-9" \ PATH="/opt/bitnami/java/bin:$PATH" ENTRYPOINT [ "/opt/bitnami/scripts/java/entrypoint.sh" ] +WORKDIR /app CMD [ "bash" ] diff --git a/bitnami/java/17/debian-12/Dockerfile b/bitnami/java/17/debian-12/Dockerfile index 9f12b3bf5b117..0a7659d1fb441 100644 --- a/bitnami/java/17/debian-12/Dockerfile +++ b/bitnami/java/17/debian-12/Dockerfile @@ -61,4 +61,5 @@ ENV APP_VERSION="17.0.12-10" \ PATH="/opt/bitnami/java/bin:$PATH" ENTRYPOINT [ "/opt/bitnami/scripts/java/entrypoint.sh" ] +WORKDIR /app CMD [ "bash" ] diff --git a/bitnami/java/21/debian-12/Dockerfile b/bitnami/java/21/debian-12/Dockerfile index 754985351afd4..c34777717528b 100644 --- a/bitnami/java/21/debian-12/Dockerfile +++ b/bitnami/java/21/debian-12/Dockerfile @@ -61,4 +61,5 @@ ENV APP_VERSION="21.0.4-9" \ PATH="/opt/bitnami/java/bin:$PATH" ENTRYPOINT [ "/opt/bitnami/scripts/java/entrypoint.sh" ] +WORKDIR /app CMD [ "bash" ] diff --git a/bitnami/java/22/debian-12/Dockerfile b/bitnami/java/22/debian-12/Dockerfile index 9b668b9d12902..b06f8fbeb892f 100644 --- a/bitnami/java/22/debian-12/Dockerfile +++ b/bitnami/java/22/debian-12/Dockerfile @@ -61,4 +61,5 @@ ENV APP_VERSION="22.0.2-11" \ PATH="/opt/bitnami/java/bin:$PATH" ENTRYPOINT [ "/opt/bitnami/scripts/java/entrypoint.sh" ] +WORKDIR /app CMD [ "bash" ]