[Wiki Loves Monuments] Installing wlxjury

Platonides platonides at gmail.com
Wed Aug 10 19:38:32 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/wikilovesmonuments/attachments/20160810/0f9e3783/attachment.html>


More information about the WikiLovesMonuments mailing list