rsync/Containerfile

11 lines
314 B
Docker

FROM registry.fedoraproject.org/fedora:36
RUN dnf install -y \
openssh-clients \
rsync \
&& dnf clean all \
&& groupadd -g 1000 jenkins \
&& useradd -c 'Jenkins user' -g 1000 -l -M -s /bin/sh -u 1000 jenkins
COPY known-hosts-command.ssh.conf /etc/ssh/ssh_config.d/10-known-hosts-command.conf