Skip to content

Commit

Permalink
update scala version in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hrj committed Sep 9, 2023
1 parent f9a089b commit 1de0463
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin

FROM base-core
WORKDIR /lc-core
COPY --from=builder /build/target/scala-3.3.0/LibreCaptcha.jar .
COPY --from=builder /build/target/scala-3.3.1/LibreCaptcha.jar .
RUN mkdir data/

EXPOSE 8888
Expand Down
2 changes: 1 addition & 1 deletion Runner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin

FROM base-core
RUN mkdir /lc-core
COPY target/scala-3.3.0/LibreCaptcha.jar /lc-core
COPY target/scala-3.3.1/LibreCaptcha.jar /lc-core
WORKDIR /lc-core
RUN mkdir data/

Expand Down
4 changes: 2 additions & 2 deletions tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python3 -m venv testEnv
source ./testEnv/bin/activate
pip install locust
mkdir -p data/
java -jar target/scala-3.3.0/LibreCaptcha.jar &
java -jar target/scala-3.3.1/LibreCaptcha.jar &
JAVA_PID=$!
sleep 4

Expand All @@ -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.0/LibreCaptcha.jar &
java -jar target/scala-3.3.1/LibreCaptcha.jar &
JAVA_PID=$!
sleep 4

Expand Down

0 comments on commit 1de0463

Please sign in to comment.