Add some missing stuff

This commit is contained in:
Andreas Neue 2021-05-19 11:28:32 +02:00
parent 623a69d025
commit cfb4daaf1e
6 changed files with 93 additions and 3 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM golang:latest
MAINTAINER Andreas Neue <an@dnix.de>
RUN apt -y update && apt -y upgrade && apt-get install -y fortune vim tzdata ca-certificates && apt-get clean
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
WORKDIR /go/src/ircd
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["ircd", "-conf", "/go/src/ircd/conf/server.conf"]