docker-syncthing/Dockerfile
Stian Buch Larsen a9da0903fd Added missing ports from expose
This fixes #1
2015-12-21 09:08:34 +01:00

24 lines
666 B
Docker
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM linuxserver/baseimage
MAINTAINER lonix <lonixx@gmail.com>
ENV APTLIST="syncthing"
#Applying stuff
RUN curl -s https://syncthing.net/release-key.txt | apt-key add - && \
echo deb http://apt.syncthing.net/ syncthing release | tee /etc/apt/sources.list.d/syncthing-release.list && \
apt-get update -q && \
apt-get install -qy $APTLIST && \
# give abc home folder of /config
usermod -d /config abc && \
# clean up
apt-get clean && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
#Adding Custom files
ADD services/ /etc/service/
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
# Volumes and Ports
VOLUME ["/config", "/sync"]
EXPOSE 8384 22000 21027/UDP