From 5d7ccbb1c5e58111810adcf53d17e0f0560da09d Mon Sep 17 00:00:00 2001 From: hrj Date: Wed, 30 Nov 2022 09:51:52 +0530 Subject: [PATCH] update scala version in scripts --- Dockerfile | 2 +- Runner.Dockerfile | 2 +- tests/run.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a737b37..f1dfc7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin FROM base-core WORKDIR /lc-core -COPY --from=builder /build/target/scala-3.2.0/LibreCaptcha.jar . +COPY --from=builder /build/target/scala-3.2.1/LibreCaptcha.jar . RUN mkdir data/ EXPOSE 8888 diff --git a/Runner.Dockerfile b/Runner.Dockerfile index c6799d6..8da86a3 100644 --- a/Runner.Dockerfile +++ b/Runner.Dockerfile @@ -6,7 +6,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin FROM base-core RUN mkdir /lc-core -COPY target/scala-3.2.0/LibreCaptcha.jar /lc-core +COPY target/scala-3.2.1/LibreCaptcha.jar /lc-core WORKDIR /lc-core RUN mkdir data/ diff --git a/tests/run.sh b/tests/run.sh index 2343ee4..ea38d83 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -4,7 +4,7 @@ python3 -m venv testEnv source ./testEnv/bin/activate pip install locust mkdir -p data/ -java -jar target/scala-3.2.0/LibreCaptcha.jar & +java -jar target/scala-3.2.1/LibreCaptcha.jar & JAVA_PID=$! sleep 4 @@ -22,7 +22,7 @@ echo Run functional test cp data/config.json data/config.json.bak cp tests/debug-config.json data/config.json -java -jar target/scala-3.2.0/LibreCaptcha.jar & +java -jar target/scala-3.2.1/LibreCaptcha.jar & JAVA_PID=$! sleep 4