Initial commit to ipxe-build repo
- compile iPXE with HTTPS support
Change-Id: I8ddf1d91ea34d00941108d6c4647a4ff94a75700
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7bd7f6d
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,24 @@
+# iPXE build Dockerfile
+
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+FROM debian:10.6
+
+# Install Build packages
+RUN apt-get -y update \
+ && apt-get -y install build-essential genisoimage git isolinux liblzma-dev mtools syslinux \
+ && apt-get autoremove \
+ && apt-get clean \
+ && rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* \
+ && mkdir /build
+
+# Copy ipxe source and chainloader into container
+COPY ipxe /ipxe
+
+# Perform a basic build
+WORKDIR /ipxe/src
+RUN make -j4 bin/undionly.kpxe
+
+# Sleep for 10m, should be enough to perform build.
+CMD ["sleep", "600"]