Initial commit
ContainerImages/build.rootfs/pipeline/head This commit looks good
Details
ContainerImages/build.rootfs/pipeline/head This commit looks good
Details
commit
30ec9260ea
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
buildContainerImage2(name: 'build/rootfs', archlist: ['amd64', 'arm64'])
|
Loading…
Reference in New Issue