mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-02-19 20:04:00 +08:00
25 lines
468 B
Docker
25 lines
468 B
Docker
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
|