docker build -t sentora . (dockerizing sentora container)
05-08-2015, 07:23 PM
(This post was last modified: 05-08-2015, 07:24 PM by jujes.)
Some one know why don't build the container?
Code:
FROM ubuntu:14.04
MAINTAINER maintainer@sentora.org
RUN apt-get update
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y install curl
RUN apt-get -y install wget
RUN apt-get -y install sysv-rc-conf
RUN wget sentora.org/install
RUN chmod +x install
RUN ./install
RUN sysv-rc-conf nginx on
RUN sysv-rc-conf crond on
RUN sysv-rc-conf sentora on
RUN sysv-rc-conf httpd on
RUN sysv-rc-conf apache2 on
RUN sysv-rc-conf mysqld on
EXPOSE 22 80 8000 3306 443 8083 21
CMD ["/sbin/init"]