commit dbc531231f96ce9876daf151f97be343e0950d39 Author: Dustin C. Hatch Date: Fri Dec 2 21:29:59 2022 -0600 Initial commit diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..6a5b9ec --- /dev/null +++ b/Containerfile @@ -0,0 +1,10 @@ +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 diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..95632a5 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +buildContainerImage() diff --git a/known-hosts-command.ssh.conf b/known-hosts-command.ssh.conf new file mode 100644 index 0000000..efb2772 --- /dev/null +++ b/known-hosts-command.ssh.conf @@ -0,0 +1 @@ +KnownHostsCommand /usr/bin/curl -sL https://files.pyrocufflink.blue/ssh_known_hosts