flokati/Dockerfile

13 lines
373 B
Docker
Raw Permalink Normal View History

2019-08-01 08:52:33 +00:00
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
2019-08-01 08:52:33 +00:00
WORKDIR /go/src/flokati
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["flokati"]