Dockerfile 394 B

1234567891011121314151617
  1. # Dockerfile for creating the management network container
  2. FROM alpine:latest
  3. #Installing 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
  12. COPY inventory_creation.yml /root/
  13. COPY mngmnt_container_configure.yml /root/