rsync/Dockerfile

23 lines
480 B
Docker
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/*
# Fix potential UTF-8 errors
RUN locale-gen en_US.UTF-8
COPY rsync-docker.sh /rsync-docker.sh
ENTRYPOINT ["/rsync-docker.sh"]