flokati/Dockerfile

12 lines
261 B
Docker

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"]