Nano Apache Httpd
To build the rootfs follow these steps.
./build\ image– Build the Docker image locally.
./run\ container– Removes any previous container started by this script and runs a new interactive container.
buildroot-configure– Configure Buildroot to install desired packages.
buildroot– Build new rootfs.
- [Ctrl]+[D] – Exit container.
./pull\ rootfs– Copies the compressed rootfs tarball from the container to the product directory.
Creating a Docker image
docker build -t nano/apache product
Travis automatically builds the rootfs when this repository is updated and commits
the output to a copy of the product directory. The result is pushed to a different branch of the same name but with
a product prefix, e.g. product/latest. This triggers Docker Hub to build the final image at
Travis does not support Docker yet so the entire Buildroot environment has to be replicated using
also means Travis can only test the rootfs and not the resulting Docker image.