Docker container used to make building ipxe from source easier and faster.
- Have Docker installed on the container host.
- Git clone this repository
git clone https://github.com/bpdev97/ipxe-builder-docker.git
- CD into this repository
cd ipxe-builder-docker
- Git clone the ipxe git repository
git clone git://git.ipxe.org/ipxe.git
- Edit the Dockerfile if needed (e.g. to Build an USB image instead of the ipxe.iso)
vim ./Dockerfile
- Place your custom embed.ipxe file into ipxe/src/embed.ipxe if necessary (or remove the EMBED switch from the Dockerfile)
vim ./ipxe/src/embed.ipxe
- Run the
build-env.sh
script. - Builds the Docker container
./build-env.sh
- Run the
build-ipxe.sh ipxe
script. - Runs the container and passes through the user given ipxe directory into the container.
./build-ipxe.sh ipxe
#!ipxe
dhcp
chain http://boot.ipxe.org/demo/boot.php
docker system prune -a
This project is licensed under the MIT License.