diff --git a/Dockerfile b/Dockerfile index 7f7a7a4..9659157 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.1.1/LibreCaptcha.jar . +COPY --from=builder /build/target/scala-3.1.2/LibreCaptcha.jar . RUN mkdir data/ EXPOSE 8888 diff --git a/Runner.Dockerfile b/Runner.Dockerfile index a32af55..540de72 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.1.1/LibreCaptcha.jar /lc-core +COPY target/scala-3.1.2/LibreCaptcha.jar /lc-core WORKDIR /lc-core RUN mkdir data/ diff --git a/build.sbt b/build.sbt index 242d6da..82e99ac 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).settings( inThisBuild( List( organization := "com.example", - scalaVersion := "3.1.1", + scalaVersion := "3.1.2", version := "0.2.1-snapshot", semanticdbEnabled := true, semanticdbVersion := scalafixSemanticdb.revision diff --git a/tests/run.sh b/tests/run.sh index 242d45d..8573d85 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.1.1/LibreCaptcha.jar & +java -jar target/scala-3.1.2/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.1.1/LibreCaptcha.jar & +java -jar target/scala-3.1.2/LibreCaptcha.jar & JAVA_PID=$! sleep 4