docker/mod/fsesl-akka/Dockerfile

21 lines
618 B
Docker
Raw Normal View History

2020-07-12 15:30:16 +02:00
FROM openjdk:8u252-jdk-slim-buster
RUN apt update && apt-get install -y subversion
ENV TAG v2.3-alpha-1
RUN cd / \
&& svn checkout https://github.com/alangecker/bbb-packages/tags/$TAG/bbb-fsesl-akka/data/usr/share/bbb-fsesl-akka \
&& rm -r /bbb-fsesl-akka/.svn \
&& groupadd -g 2003 fsesl \
&& useradd -m -u 2003 -g fsesl fsesl \
&& rm /bbb-fsesl-akka/logs \
&& mkdir /bbb-fsesl-akka/logs \
&& ln -s /dev/null /bbb-fsesl-akka/logs/bbb-fsesl-akka.log
COPY application.conf /bbb-fsesl-akka/conf/application.conf
USER fsesl
WORKDIR /bbb-fsesl-akka
CMD /bbb-fsesl-akka/bin/bbb-fsesl-akka