Update to Scala 2.13 & Akka 2.6.5 (#461)

* update scala to 2.13 & update dependencies

* fix test

* import scodec-akka

* scala 2.13 fixes

* Work around futures not completing when awaited within object constructor

Co-authored-by: Mazo <mazo2@hotmail.com>
This commit is contained in:
Jakob Gillich 2020-05-26 22:16:22 +02:00 committed by GitHub
parent 270485fa4d
commit e51e970e51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 127 additions and 139 deletions

View file

@ -1,19 +1,16 @@
FROM hseeberger/scala-sbt
FROM mozilla/sbt:8u232_1.3.8
EXPOSE 51000
EXPOSE 51001
EXPOSE 51002
# Download Login Server and pscrypto
RUN wget https://github.com/psforever/PSF-LoginServer/archive/master.zip && \
unzip master.zip && rm master.zip && \
cd PSF-LoginServer-master && \
wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip && \
COPY . /PSF-LoginServer
WORKDIR /PSF-LoginServer
RUN wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip && \
unzip pscrypto-lib-1.1.zip && rm pscrypto-lib-1.1.zip
WORKDIR /root/PSF-LoginServer-master
# Download Scala Deps
RUN sbt compile
# Run login server
CMD ["sbt", "pslogin/run"]