-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (17 loc) · 818 Bytes
/
Dockerfile
File metadata and controls
18 lines (17 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# CentOS latest with mmremote
# Version 8.2.8
FROM centos:latest
LABEL vendor="Men & Mice" maintainer="<services@menandmice.com>" version="8.2.8-docker-beta" Description="Men & Mice Suite DNS Server Controller"
# Update image
RUN yum -y update && yum -y install wget && yum clean all
COPY named.conf /etc/named.conf
COPY localhost.db /var/named/localhost.db
RUN adduser --system --shell /bin/nologin --create-home --home-dir /var/named named
RUN wget -q http://download.menandmice.com/Linux/8.2.8/mmsuite-controllers-8.2.8.linux.x64.tgz
RUN tar xfz mmsuite-controllers-8.2.8.linux.x64.tgz
RUN mv /mmsuite-controllers*/linux/mmremoted /usr/sbin/mmremoted
RUN rm -rf /mmsuite-controllers*
VOLUME ["/var/named"]
EXPOSE 1337
WORKDIR /var/named
CMD ["/usr/sbin/mmremoted", "-unamed", "-gnamed", "-c/etc/named.conf", "-f"]