mesosphere / mesos-dns-pkg

Packaging utilities for Mesos-DNS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create docker

kozyraki opened this issue · comments

Can we also add the functionality to build a simple docker for Mesos-dns?

The dockerfile should be as simple as:

FROM centos:centos7
COPY mesos-dns mesos-dns
EXPOSE 53

Implemented. You can now build a mesosphere/mesos-dns Docker container which will first setup a CentOS 7 based system (docker-rootfs/) in which it builds mesos-dns and then creates a Minimal Docker rootfs with only mesos-dns and some libraries in it. This rootfs is used by a second Docker container "docker/" which gets tagged as mesosphere/mesos-dns