From dbc531231f96ce9876daf151f97be343e0950d39 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 2 Dec 2022 21:29:59 -0600 Subject: [PATCH] Initial commit --- Containerfile | 10 ++++++++++ Jenkinsfile | 1 + known-hosts-command.ssh.conf | 1 + 3 files changed, 12 insertions(+) create mode 100644 Containerfile create mode 100644 Jenkinsfile create mode 100644 known-hosts-command.ssh.conf 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