mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-02-19 20:04:00 +08:00
Audit me!!
This commit is contained in:
parent
655d78dd19
commit
b0047a836b
@ -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
|
||||
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
umask 0000
|
||||
|
||||
exec /sbin/setuser abc "syncthing -home=/config -no-browser -no-restart"
|
||||
Loading…
x
Reference in New Issue
Block a user