Initial commit
ContainerImages/build.rootfs/pipeline/head This commit looks good Details

main
Dustin 2024-02-07 11:17:41 -06:00
commit 30ec9260ea
2 changed files with 34 additions and 0 deletions

33
Containerfile Normal file
View File

@ -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

1
Jenkinsfile vendored Normal file
View File

@ -0,0 +1 @@
buildContainerImage2(name: 'build/rootfs', archlist: ['amd64', 'arm64'])