18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
|
# We're using a multistage Docker build here in order to allow us to release a self-verifying
|
||
|
|
||
|
FROM slitazcn/slitaz-5.0-base
|
||
|
COPY ./iso-old32/boot/rootfs.gz ./packages/* ./
|
||
|
RUN mkdir -p /tmp/rootfs && \
|
||
|
ls -l && \
|
||
|
mv rootfs.gz /tmp/rootfs && \
|
||
|
cd /tmp/rootfs && \
|
||
|
(zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id && \
|
||
|
rm rootfs.gz && \
|
||
|
cd / && \
|
||
|
ls -l && \
|
||
|
sh /gen-slitaz32.sh && \
|
||
|
cd /tmp/rootfs && \
|
||
|
ls -l && \
|
||
|
find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs-new.gz
|
||
|
|