mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-27 04:53:13 -05:00
Bump version numbers, fixes #149
This commit is contained in:
parent
f0659da3eb
commit
8f34d58521
@ -1,12 +1,12 @@
|
|||||||
FROM adoptopenjdk/openjdk16:alpine AS base-builder
|
FROM adoptopenjdk/openjdk16:alpine AS base-builder
|
||||||
ARG SBT_VERSION=1.3.13
|
ARG SBT_VERSION=1.6.2
|
||||||
RUN apk add --no-cache bash
|
RUN apk add --no-cache bash
|
||||||
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
||||||
ENV PATH=$PATH:${JAVA_HOME}/bin
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
||||||
RUN \
|
RUN \
|
||||||
wget -O sbt-$SBT_VERSION.tgz https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz && \
|
wget -O sbt-$SBT_VERSION.tgz https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz && \
|
||||||
tar -xzvf sbt-$SBT_VERSION.tgz && \
|
tar -xzvf sbt-$SBT_VERSION.tgz && \
|
||||||
rm sbt-$SBT_VERSION.tgz
|
rm sbt-$SBT_VERSION.tgz
|
||||||
|
|
||||||
ENV PATH=$PATH:/sbt/bin/
|
ENV PATH=$PATH:/sbt/bin/
|
||||||
|
|
||||||
@ -30,7 +30,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-2.13/LibreCaptcha.jar .
|
COPY --from=builder /build/target/scala-3.1.1/LibreCaptcha.jar .
|
||||||
RUN mkdir data/
|
RUN mkdir data/
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
Loading…
x
Reference in New Issue
Block a user