flokati/Dockerfile

21 lines
539 B
Docker

FROM ubuntu:15.10
MAINTAINER Andreas Neue <an@dnix.de>
RUN apt-get -y --force-yes update
RUN apt-get -y --force-yes upgrade
RUN apt-get install -y ca-certificates
RUN apt-get install -y fortune vim
RUN apt-get clean
RUN mkdir /flokatirc
COPY flokatirc /flokatirc/flokatirc
COPY newsfeeds.conf /flokatirc/newsfeeds.conf
COPY fortunes /flokatirc/fortunes
ENV PATH $PATH:/flokatirc
WORKDIR /flokatirc
CMD [ "/flokatirc/flokatirc", "-server=irc.dnix.de:6667", "-name=Flokati", "-chan=#northbrigade", "-nsname=N", "-nspass=t0ps3cr37" ]