docker-syncthing/Dockerfile
2016-10-14 15:26:19 +01:00

25 lines
468 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 lsiobase/alpine
MAINTAINER sparklyballs
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# environment settings
ENV HOME="/config"
# install packages
RUN \
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/community \
syncthing \
syncthing-utils
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8384 22000 21027/UDP
VOLUME /config /sync