Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
18 lines
488 B
Docker
18 lines
488 B
Docker
FROM vulhub/rsync:3.1.2
|
|
|
|
LABEL maintainer="phithon <root@leavesongs.com>"
|
|
|
|
COPY rsyncd.conf /etc/rsyncd.conf
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
RUN echo "deb http://snapshot.debian.org/archive/debian/20210326T030000Z jessie main" > /etc/apt/sources.list
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install --no-install-recommends -y cron --force-yes \
|
|
&& mkdir /data/ \
|
|
&& chmod +x /docker-entrypoint.sh \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
CMD ["/docker-entrypoint.sh"]
|