Skip to content

Commit

Permalink
Bump version numbers, fixes librecaptcha#149
Browse files Browse the repository at this point in the history
  • Loading branch information
Korkman authored Mar 2, 2022
1 parent f0659da commit 8f34d58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
ENV PATH=$PATH:${JAVA_HOME}/bin
RUN \
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 && \
rm sbt-$SBT_VERSION.tgz
tar -xzvf sbt-$SBT_VERSION.tgz && \
rm sbt-$SBT_VERSION.tgz

ENV PATH=$PATH:/sbt/bin/

Expand All @@ -30,7 +30,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin

FROM base-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/

EXPOSE 8888
Expand Down

0 comments on commit 8f34d58

Please sign in to comment.