Add Dockerfile
This is so people can base their projects on elemental-ircd.
This commit is contained in:
parent
e12b8a2631
commit
379a56e808
|
@ -0,0 +1,26 @@
|
|||
FROM ubuntu:14.04
|
||||
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
|
||||
|
||||
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
|
||||
USER ircd
|
||||
|
||||
CMD /home/ircd/run/bin/ircd -foreground
|
||||
|
Loading…
Reference in New Issue