diff options
Diffstat (limited to 'nfv-installer/docker-pxe-ramboot/Dockerfile')
-rw-r--r-- | nfv-installer/docker-pxe-ramboot/Dockerfile | 16 |
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 @@ | |||
1 | FROM ubuntu:16.04 | ||
2 | |||
3 | RUN apt-get update && \ | ||
4 | apt-get install -y isc-dhcp-server tftpd-hpa wget | ||
5 | |||
6 | RUN touch /var/lib/dhcp/dhcpd.leases | ||
7 | |||
8 | RUN 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 | |||
14 | COPY ./entrypoint.sh /entrypoint.sh | ||
15 | |||
16 | ENTRYPOINT ["/entrypoint.sh"] | ||