docker-resilio-sync/Dockerfile

37 lines
670 B
Docker
Raw 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}"
# install packages and symlink libs
RUN \
apk add --no-cache \
curl \
tar \
libc6-compat && \
mkdir -p \
/lib64 && \
ln /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 && \
# install resilio
curl -o \
/tmp/sync.tar.gz -L \
https://download-cdn.resilio.com/stable/linux-x64/resilio-sync_x64.tar.gz && \
tar xf \
/tmp/sync.tar.gz \
-C /usr/bin && \
# cleanup
rm -rf \
/tmp/*
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8888 55555
VOLUME /config /sync