From ac44980f507c82b693a6e3ee58f1b1efdc06e302 Mon Sep 17 00:00:00 2001 From: hrj Date: Wed, 17 Apr 2024 22:59:58 +0530 Subject: [PATCH] update scripts to scala 3.4.1 --- Dockerfile | 2 +- Runner.Dockerfile | 2 +- tests/run.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 312ea17..698673b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin FROM base-core WORKDIR /lc-core -COPY --from=builder /build/target/scala-3.3.3/LibreCaptcha.jar . +COPY --from=builder /build/target/scala-3.4.1/LibreCaptcha.jar . RUN mkdir data/ EXPOSE 8888 diff --git a/Runner.Dockerfile b/Runner.Dockerfile index 6d777ed..a8522d5 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.3.3/LibreCaptcha.jar /lc-core +COPY target/scala-3.4.1/LibreCaptcha.jar /lc-core WORKDIR /lc-core RUN mkdir data/ diff --git a/tests/run.sh b/tests/run.sh index 1306fb9..d4249de 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.3.3/LibreCaptcha.jar & +java -jar target/scala-3.4.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.3.3/LibreCaptcha.jar & +java -jar target/scala-3.4.1/LibreCaptcha.jar & JAVA_PID=$! sleep 4