mirror of
https://github.com/Fishwaldo/docker-rsync.git
synced 2025-03-15 11:32:05 +00:00
15 lines
480 B
Docker
15 lines
480 B
Docker
FROM debian:latest
|
|
MAINTAINER Justin Hammond <justin@dynam.ac>
|
|
LABEL org.opencontainers.image.source = "https://github.com/Fishwaldo/docker-rsync"
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends rsync && \
|
|
apt-get clean autoclean && \
|
|
apt-get autoremove -y && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
mkdir /etc/rsync/
|
|
|
|
EXPOSE 873
|
|
ADD ./entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|