commit 30ec9260ea29655559bf56b9ccc16c36df4cd7ed Author: Dustin C. Hatch Date: Wed Feb 7 11:17:41 2024 -0600 Initial commit diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..7c78093 --- /dev/null +++ b/Containerfile @@ -0,0 +1,33 @@ +FROM registry.fedoraproject.org/fedora-minimal:39 AS build + +RUN --mount=type=cache,target=/var/cache \ + microdnf install -y \ + --setopt install_weak_deps=0 \ + autoconf \ + gcc \ + libconfuse-devel \ + make \ + tar \ + xz \ + && : + +RUN curl -fsSL https://github.com/pengutronix/genimage/releases/download/v17/genimage-17.tar.xz \ + | tar -xJ \ + && cd genimage-17 \ + && ./configure \ + && make \ + && make install \ + && : + + +FROM registry.fedoraproject.org/fedora-minimal:39 + +RUN --mount=type=cache,target=/var/cache \ + microdnf install -y \ + dosfstools \ + squashfs-tools \ + tar \ + zstd \ + && : + +COPY --from=build /usr/local/bin/genimage /usr/local/bin/genimage diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..bd2312d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +buildContainerImage2(name: 'build/rootfs', archlist: ['amd64', 'arm64'])