container-images/rsyncd/Dockerfile
dresi 46e0a70521
Some checks failed
Build and push rsyncd image / build-and-push-image (push) Failing after 6m3s
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 6m4s
feat: initial structure with rsyncd and telegraf-snmp images
2026-06-10 10:29:16 +02:00

15 lines
428 B
Docker

FROM ubuntu:24.04
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
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,dpkg,cache,log}/
EXPOSE 873
VOLUME /volume
ADD ./run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh
ENTRYPOINT ["/usr/local/bin/run.sh"]