Hello Ilya

Thanks for the info. The manual user creation is no problem... now I am aware of the trap ☺

I am a bit surprised about the java default, but will try setting it manually.

How should the application be run instead? I thought you needed to use 'sbt run'.


FWIW, here is the Dockerfile I am using: 
FROM debian:jessie
RUN echo deb http://ftp.debian.org/debian jessie-backports main > /etc/apt/sources.list.d/backports.
list && apt-get update
RUN apt-get install -y openjdk-8-jre # From jessie-backports
RUN apt-get install -y scala git

RUN echo deb http://dl.bintray.com/sbt/debian / > /etc/apt/sources.list.d/sbt.list && \
 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC8
23 && \
 sed -i 's/^/#/' /etc/apt/apt.conf.d/01proxy && \
 apt-get update && apt-get install -y sbt

RUN useradd -m wlxjury
RUN chown wlxjury /opt 
RUN su -c "cd /opt && git clone https://github.com/intracer/wlxjury && \
  cd wlxjury && sbt" wlxjury

EXPOSE 8080 # port set in application.conf
CMD ["su", "-c", "sbt run", "wlxjury"]


Best regards