FROM golang:latest MAINTAINER Andreas Neue 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 /app ADD . /app/ WORKDIR /app RUN go get -d code.dnix.de/an/flokatilib/... RUN go get -d code.dnix.de/an/xlog RUN go get -d ./... RUN go build -o mmflokati . CMD ["/app/mmflokati"] #FROM ubuntu:16.04 #MAINTAINER Andreas Neue # #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 /mmflokati # #COPY mmflokati /mmflokati/mmflokati #COPY newsfeeds.conf /mmflokati/newsfeeds.conf #COPY fortunes /mmflokati/fortunes # #ENV PATH $PATH:/mmflokati # #WORKDIR /mmflokati #CMD [ "/mmflokati/mmflokati", "-server=irc.dnix.de:6667", "-name=Flokati", "-chan=#test", "-nsname=N", "-nspass=t0ps3cr37" ]