2014-08-10 04:53:58 +00:00
|
|
|
FROM deis/init
|
2014-08-03 05:02:59 +00:00
|
|
|
MAINTAINER Xena <xena@yolo-swag.com>
|
|
|
|
|
|
|
|
# Update base system
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get upgrade -yq # 08-02-14
|
|
|
|
|
|
|
|
RUN apt-get -yq install build-essential autoconf libssl-dev
|
|
|
|
RUN apt-get -yq install flex bison
|
|
|
|
|
|
|
|
RUN adduser --system --home /home/ircd ircd
|
|
|
|
RUN mkdir /home/ircd/src
|
|
|
|
RUN chmod 777 /home/ircd/src
|
|
|
|
|
|
|
|
ADD . /home/ircd/src
|
2014-08-10 04:53:58 +00:00
|
|
|
ADD extra/runit/ /etc/service/ircd/
|
2014-08-03 05:02:59 +00:00
|
|
|
|
|
|
|
RUN cd /home/ircd/src; ./configure --prefix=/home/ircd/run ; make ; make install
|
|
|
|
ADD doc/example.conf /home/ircd//run/etc/ircd.conf
|
|
|
|
|
|
|
|
RUN chmod -R 777 /home/ircd/run
|
|
|
|
|
|
|
|
EXPOSE 6667
|
|
|
|
|
2014-08-10 04:53:58 +00:00
|
|
|
ENTRYPOINT /sbin/my_init
|