added Dockerfile

This commit is contained in:
Andreas Neue 2019-08-01 10:52:33 +02:00
parent 76da8820dc
commit a90804ba6e
1 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM golang:latest
MAINTAINER Andreas Neue <an@dnix.de>
RUN apt -y update && apt -y upgrade && apt-get install -y fortune vim ca-certificates && apt-get clean
WORKDIR /go/src/flokati
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["flokati"]