summaryrefslogtreecommitdiffstats
path: root/nfv-installer/docker-pxe-ramboot/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'nfv-installer/docker-pxe-ramboot/Dockerfile')
-rw-r--r--nfv-installer/docker-pxe-ramboot/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/nfv-installer/docker-pxe-ramboot/Dockerfile b/nfv-installer/docker-pxe-ramboot/Dockerfile
new file mode 100644
index 0000000..f515cd3
--- /dev/null
+++ b/nfv-installer/docker-pxe-ramboot/Dockerfile
@@ -0,0 +1,16 @@
1FROM ubuntu:16.04
2
3RUN apt-get update && \
4 apt-get install -y isc-dhcp-server tftpd-hpa wget
5
6RUN touch /var/lib/dhcp/dhcpd.leases
7
8RUN wget http://ftp.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/netboot.tar.gz && \
9 mkdir /netboot && \
10 tar -zxf netboot.tar.gz -C /netboot && \
11 cp /netboot/debian-installer/amd64/pxelinux.0 /var/lib/tftpboot/pxelinux.0 && \
12 cp /netboot/debian-installer/amd64/boot-screens/vesamenu.c32 /var/lib/tftpboot/
13
14COPY ./entrypoint.sh /entrypoint.sh
15
16ENTRYPOINT ["/entrypoint.sh"]