Sign inSign up

lnls/debian-base-image

By lnls

Updated over 6 years ago

Debian Base Image for PXE boot

Image
0

1.6K

lnls/debian-base-image repository overview

debian-base-image in a container

Overview

This image may serve as a volume to other docker images.

The vmlinuz and initrd files were created by:

sudo apt-get install debootstrap initramfs-tools && \
    mkdir -p ~/tftpboot ~/tftpimages && \
    debootstrap stable ~/tftpboot http://ftp.us.debian.org/debian && \
    sed 's/MODULES=.*$/MODULES=netboot/' -i ~/tftpboot/etc/initramfs-tools/initramfs.conf && \
    echo "BOOT=nfs" >> ~/tftpboot/etc/initramfs-tools/initramfs.conf && \
    chroot ~/tftpboot update-initramfs -u && \
    cp /tftpboot/boot/initrd.img-*-amd64 ~/tftpimages && \
    cp /tftpboot/boot/vmlinuz-*-amd64 ~/tftpimages
Build image with docker < 17.05
docker build -f Dockerfile.singlestage -t lnls/debian-base-image .
Build image with docker >= 17.05
docker build -t lnls/debian-base-image .

Tag summary

Content type

Image

Digest

Size

57.6 MB

Last updated

over 6 years ago

docker pull lnls/debian-base-image