From 55559bbdefb40178b83554fc5f85507919562b0c Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 18 Jun 2024 21:36:21 -0500 Subject: [PATCH] Initial commit --- Containerfile | 24 ++++++++++++++++++++++++ Jenkinsfile | 1 + 2 files changed, 25 insertions(+) create mode 100644 Containerfile create mode 100644 Jenkinsfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..73e8f67 --- /dev/null +++ b/Containerfile @@ -0,0 +1,24 @@ +FROM registry.fedoraproject.org/fedora:40 + +RUN --mount=type=cache,target=/var/cache \ + dnf install -y \ + --setopt=install_weak_deps=0 \ + less \ + openssh-clients \ + rsync \ + iproute \ + iputils \ + procps-ng \ + && groupadd -g 1000 fedora \ + && useradd -u 1000 -g 1000 -m fedora \ + && : + +COPY --from=registry.k8s.io/pause /pause /usr/local/bin + +USER 1000:1000 + +VOLUME /home/fedora + +WORKDIR /home/fedora + +CMD ["pause"] diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b8c93a4 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +buildContainerImage2(archlist: ['amd64', 'arm64'])