mmflokati/Dockerfile

38 lines
889 B
Docker
Raw Normal View History

2017-12-06 18:31:55 +00:00
FROM golang:latest
2017-06-28 10:23:37 +00:00
MAINTAINER Andreas Neue <an@dnix.de>
RUN apt-get -y --force-yes update
RUN apt-get -y --force-yes upgrade
2017-12-06 18:31:55 +00:00
#RUN apt-get install -y ca-certificates
2017-06-28 10:23:37 +00:00
RUN apt-get install -y fortune vim
2017-12-06 18:31:55 +00:00
#RUN apt-get clean
2017-06-28 10:23:37 +00:00
2017-12-06 18:31:55 +00:00
RUN mkdir /app
ADD . /app/
WORKDIR /app
RUN go get -d ./...
RUN go build -o mmflokati .
2017-06-28 10:23:37 +00:00
2017-12-06 18:31:55 +00:00
CMD ["/app/mmflokati"]
#FROM ubuntu:16.04
#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 /mmflokati
#
#COPY mmflokati /mmflokati/mmflokati
2017-07-01 22:50:47 +00:00
#COPY newsfeeds.conf /mmflokati/newsfeeds.conf
#COPY fortunes /mmflokati/fortunes
2017-12-06 18:31:55 +00:00
#
#ENV PATH $PATH:/mmflokati
#
#WORKDIR /mmflokati
2017-06-28 10:23:37 +00:00
2017-07-01 22:50:47 +00:00
#CMD [ "/mmflokati/mmflokati", "-server=irc.dnix.de:6667", "-name=Flokati", "-chan=#test", "-nsname=N", "-nspass=t0ps3cr37" ]