Dockerfile 321 B

123456789101112131415
  1. # Dockerfile for creating the management network container
  2. FROM alpine:latest
  3. #Installation of packages
  4. RUN apk add dhcp
  5. RUN apk add ansible
  6. RUN apk add openrc
  7. #Creation of directories and files
  8. RUN mkdir /root/omnia
  9. RUN touch /var/lib/dhcp/dhcpd.leases
  10. #Copy Configuration files
  11. COPY dhcpd.conf /etc/dhcp/dhcpd.conf