update scripts to scala 3.4.1
This commit is contained in:
parent
fba5b10e77
commit
ac44980f50
|
@ -31,7 +31,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin
|
||||||
|
|
||||||
FROM base-core
|
FROM base-core
|
||||||
WORKDIR /lc-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/
|
RUN mkdir data/
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
|
|
@ -6,7 +6,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin
|
||||||
|
|
||||||
FROM base-core
|
FROM base-core
|
||||||
RUN mkdir /lc-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
|
WORKDIR /lc-core
|
||||||
RUN mkdir data/
|
RUN mkdir data/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ python3 -m venv testEnv
|
||||||
source ./testEnv/bin/activate
|
source ./testEnv/bin/activate
|
||||||
pip install locust
|
pip install locust
|
||||||
mkdir -p data/
|
mkdir -p data/
|
||||||
java -jar target/scala-3.3.3/LibreCaptcha.jar &
|
java -jar target/scala-3.4.1/LibreCaptcha.jar &
|
||||||
JAVA_PID=$!
|
JAVA_PID=$!
|
||||||
sleep 4
|
sleep 4
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ echo Run functional test
|
||||||
cp data/config.json data/config.json.bak
|
cp data/config.json data/config.json.bak
|
||||||
cp tests/debug-config.json data/config.json
|
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=$!
|
JAVA_PID=$!
|
||||||
sleep 4
|
sleep 4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue