Audit me!!

This commit is contained in:
Stian Buch Larsen 2015-08-25 15:23:50 +02:00
parent 655d78dd19
commit b0047a836b
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
FROM linuxserver/baseimage
MAINTAINER Your Name <your@email.com>
MAINTAINER lonix <lonixx@gmail.com>
#Applying stuff
RUN curl -s https://syncthing.net/release-key.txt | sudo apt-key add - && \
@ -7,13 +7,11 @@ echo deb http://apt.syncthing.net/ syncthing release | sudo tee /etc/apt/sources
apt-get update -q && install syncthing && \
apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
#Adding Custom files
ADD init/ /etc/my_init.d/
ADD services/ /etc/service/
RUN chmod -v +x /etc/service/*/run && chmod -v +x /etc/my_init.d/*.sh
# Volumes and Ports
VOLUME /config
EXPOSE 8384

View File

@ -1,3 +1,5 @@
#!/bin/bash
umask 0000
exec /sbin/setuser abc "syncthing -home=/config -no-browser -no-restart"