delete all root process

This commit is contained in:
Wonderfall
2016-09-16 17:08:06 +02:00
parent c34874716a
commit 9cbccd93dc
69 changed files with 183 additions and 224 deletions

View File

@ -28,8 +28,11 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
&& rm -rf /var/cache/apk/* /tmp/*
COPY run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh
EXPOSE 8080
VOLUME /db /config
CMD ["/sbin/tini","--","run.sh"]
CMD ["run.sh"]

View File

@ -1,3 +1,3 @@
#!/bin/sh
chown -R $UID:$GID /db /config
su-exec $UID:$GID isso -c /config/isso.conf run
exec su-exec $UID:$GID /sbin/tini -- isso -c /config/isso.conf run