From fc681d72dec3877597e899f1bd1c97fece789f32 Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Fri, 19 Jul 2024 18:41:16 +0530 Subject: [PATCH 1/2] Update Dockerfile --- spring-petclinic/spring-petclinic-rest/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spring-petclinic/spring-petclinic-rest/Dockerfile b/spring-petclinic/spring-petclinic-rest/Dockerfile index bec7fb7f..ade95990 100644 --- a/spring-petclinic/spring-petclinic-rest/Dockerfile +++ b/spring-petclinic/spring-petclinic-rest/Dockerfile @@ -20,6 +20,13 @@ EXPOSE 9966 RUN curl -o ca.crt https://raw.githubusercontent.com/keploy/keploy/main/pkg/core/proxy/asset/ca.crt RUN curl -o setup_ca.sh https://raw.githubusercontent.com/keploy/keploy/main/pkg/core/proxy/asset/setup_ca.sh +ADD https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/assets/freeze_time_arm64.so /lib/keploy/freeze_time_arm64.so + +#set suitable permissions +RUN chmod +x /lib/keploy/freeze_time_arm64.so + +# Set LD_PRELOAD environment variable to use freeze_time_arm64.so +ENV LD_PRELOAD=/lib/keploy/freeze_time_arm64.so # Give execute permission to the setup_ca.sh script RUN chmod +x setup_ca.sh From a3420993df35285a60a8f6055e12a9b800a76192 Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Sun, 21 Jul 2024 16:19:48 +0530 Subject: [PATCH 2/2] Update Dockerfile --- spring-petclinic/spring-petclinic-rest/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-petclinic/spring-petclinic-rest/Dockerfile b/spring-petclinic/spring-petclinic-rest/Dockerfile index ade95990..2b2eee5e 100644 --- a/spring-petclinic/spring-petclinic-rest/Dockerfile +++ b/spring-petclinic/spring-petclinic-rest/Dockerfile @@ -5,7 +5,7 @@ FROM openjdk:22-bookworm WORKDIR /app # Install Maven -RUN apt-get update && apt-get install -y maven +RUN brew install maven # Copy the current directory contents into the container at /app COPY . /app/