From a90804ba6e41e04ac19c90b5c726c51e19bc2533 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Thu, 1 Aug 2019 10:52:33 +0200 Subject: [PATCH] added Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bb81ff2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM golang:latest +MAINTAINER Andreas Neue + +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"]