FROM golang:latest MAINTAINER Andreas Neue 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/covid-exporter COPY . . RUN go get -d -v ./... RUN go install -v ./... CMD ["covid-exporter"]