move from /root to /opt

This commit is contained in:
Robert Schumann 2016-11-29 00:07:04 +01:00
parent 023c012b85
commit 4136a09f1e
2 changed files with 5 additions and 5 deletions

View File

@ -5,15 +5,15 @@ MAINTAINER Robert Schumann <gutmensch@n-os.org>
ENV wget_opts "-q --no-check-certificate"
ENV raumserver_release "http://bassmaniacs.com/data/appBinaries/raumserver/currentVersion"
ENV raumserver_libs "https://github.com/ChriD/Raumserver/raw/master/source/RaumserverDaemon/libs/linux_X64"
ENV PATH /root:$PATH
ENV PATH /opt:$PATH
WORKDIR /root
WORKDIR /opt
COPY start.sh ./start.sh
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends git wget unzip \
&& apt-get install -y --no-install-recommends wget unzip \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
@ -21,7 +21,7 @@ RUN set -x \
&& unzip raumserverDaemon_linux_X64.zip -d raumserver \
&& rm -f raumserverDaemon_linux_X64.zip \
&& mkdir -p /etc/raumfeld/raumserverDaemon \
&& ln -s /root/raumserver/docroot /etc/raumfeld/raumserverDaemon/docroot \
&& ln -s /opt/raumserver/docroot /etc/raumfeld/raumserverDaemon/docroot \
&& for l in libunwind-x86_64.so.8.0.1 libunwind.so.8.0.1 libunwind-coredump.so.0.0.0 libunwind-setjmp.so.0.0.0 libunwind-ptrace.so.0.0.0; do \
wget $wget_opts $raumserver_libs/"$l" -O /usr/lib/"$l" && \
ln -s /usr/lib/"$l" /usr/lib/"$(echo $l | sed 's%\.[0-9]\.[0-9]$%%')" ; \

View File

@ -1,2 +1,2 @@
#!/bin/sh
/root/raumserver/raumsrvDaemon && sleep infinity
/opt/raumserver/raumsrvDaemon && sleep infinity