rsync/Dockerfile

24 lines
532 B
Text
Raw Normal View History

2023-05-11 22:41:39 +02:00
# hadolint ignore=DL3007
FROM debian:stable
LABEL "maintainer"="L3D <l3d@c3woc.de>"
2023-05-11 23:29:33 +02:00
# hadolint ignore=DL3008,DL3013,DL3015
2023-05-11 23:00:51 +02:00
RUN apt-get update -y && apt-get install -y \
2023-05-11 22:41:39 +02:00
apt-utils \
openssh-client \
software-properties-common \
build-essential \
locales \
rsync \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
2023-05-12 00:26:36 +02:00
RUN echo "${inputs.source} or $source or ${SOURCE}"
2023-05-11 22:41:39 +02:00
# Fix potential UTF-8 errors
RUN locale-gen en_US.UTF-8
COPY rsync-docker.sh /rsync-docker.sh
ENTRYPOINT ["/rsync-docker.sh"]